mirror of
https://gitlab.freedesktop.org/wayland/wayland.git
synced 2025-11-08 13:29:47 -05:00
Take away pointer focus during server grabs
This lets the client restore the pointer image when the grab ends.
This commit is contained in:
parent
6bccebee23
commit
dd4046ae56
3 changed files with 39 additions and 20 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue