mirror of
https://github.com/brl/mutter.git
synced 2025-02-17 21:54:10 +00:00
Allow keyboard ops to work without a pointer grab
https://bugzilla.gnome.org/show_bug.cgi?id=660457
This commit is contained in:
parent
0b2a9d58e0
commit
9d4f3c5842
@ -3558,7 +3558,7 @@ meta_display_begin_grab_op (MetaDisplay *display,
|
|||||||
meta_display_set_grab_op_cursor (display, screen, op, FALSE, grab_xwindow,
|
meta_display_set_grab_op_cursor (display, screen, op, FALSE, grab_xwindow,
|
||||||
timestamp);
|
timestamp);
|
||||||
|
|
||||||
if (!display->grab_have_pointer)
|
if (!display->grab_have_pointer && !grab_op_is_keyboard (op))
|
||||||
{
|
{
|
||||||
meta_topic (META_DEBUG_WINDOW_OPS,
|
meta_topic (META_DEBUG_WINDOW_OPS,
|
||||||
"XGrabPointer() failed\n");
|
"XGrabPointer() failed\n");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user