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.
dev
Kristian Høgsberg 11 years ago
parent c3244d7abc
commit 48588f8696
  1. 1
      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

Loading…
Cancel
Save