wayland-surface: Use begin_grab_op for move grabs

This commit is contained in:
Jasper St. Pierre
2013-11-14 21:34:20 -05:00
parent 1946c548bf
commit 3c7cd1f38c
2 changed files with 15 additions and 106 deletions

View File

@ -1566,6 +1566,10 @@ meta_window_grab_all_keys (MetaWindow *window,
Window grabwindow;
gboolean retval;
/* We don't need to grab Wayland clients */
if (window->client_type == META_WINDOW_CLIENT_TYPE_WAYLAND)
return TRUE;
if (window->all_keys_grabbed)
return FALSE;