Take away pointer focus during server grabs

This lets the client restore the pointer image when the grab ends.
This commit is contained in:
Kristian Høgsberg 2011-01-21 17:00:09 -05:00
parent 6bccebee23
commit dd4046ae56
3 changed files with 39 additions and 20 deletions

View file

@ -412,16 +412,6 @@ wl_input_device_end_grab(struct wl_input_device *device, uint32_t time)
device->grab = NULL;
wl_list_remove(&device->grab_listener.link);
#if 0
struct wlsc_surface *es;
int32_t sx, sy;
es = pick_surface(device, &sx, &sy);
wl_input_device_set_pointer_focus(device,
&es->surface, time,
device->x, device->y, sx, sy);
#endif
}
static void