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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user