Allow keyboard ops to work without a pointer grab

https://bugzilla.gnome.org/show_bug.cgi?id=660457
This commit is contained in:
Matthias Clasen 2011-10-01 09:00:57 +02:00 committed by Adel Gadllah
parent 0b2a9d58e0
commit 9d4f3c5842

View File

@ -3558,7 +3558,7 @@ meta_display_begin_grab_op (MetaDisplay *display,
meta_display_set_grab_op_cursor (display, screen, op, FALSE, grab_xwindow,
timestamp);
if (!display->grab_have_pointer)
if (!display->grab_have_pointer && !grab_op_is_keyboard (op))
{
meta_topic (META_DEBUG_WINDOW_OPS,
"XGrabPointer() failed\n");