From 48588f86968c9da111211c4407e1d7f9c985c624 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kristian=20H=C3=B8gsberg?= Date: Thu, 24 Oct 2013 15:51:35 -0700 Subject: [PATCH] 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. --- src/shell.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/shell.c b/src/shell.c index fdc163e4..d29bb893 100644 --- a/src/shell.c +++ b/src/shell.c @@ -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