mirror of
https://gitlab.freedesktop.org/wayland/weston
synced 2024-10-06 22:05:00 +00:00
shell: Create a view for the grab_surface
Without the view, we can't set pointer and touch focus to the grab_surface and touch moving fails.
This commit is contained in:
parent
c3244d7abc
commit
48588f8696
|
@ -2815,6 +2815,7 @@ desktop_shell_set_grab_surface(struct wl_client *client,
|
|||
struct desktop_shell *shell = wl_resource_get_user_data(resource);
|
||||
|
||||
shell->grab_surface = wl_resource_get_user_data(surface_resource);
|
||||
weston_view_create(shell->grab_surface);
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
Loading…
Reference in a new issue