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:
Kristian Høgsberg 2013-10-24 15:51:35 -07:00
parent c3244d7abc
commit 48588f8696

View file

@ -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