keyboard: Don't grab the mouse pointer
In a0a15588
, we starting using a separate shortcut editor window, which
was doing its own capture instead of using the GtkCellRendererAccel. But
this started grabbing both keyboard and pointer, making it impossible to
cancel captures using the pointer.
We now only grab keyboard keys, making the pointer usable again.
https://bugzilla.gnome.org/show_bug.cgi?id=769314
This commit is contained in:
parent
b32f58ed00
commit
b10a1ac935
1 changed files with 1 additions and 1 deletions
|
@ -194,7 +194,7 @@ grab_seat (CcKeyboardShortcutEditor *self,
|
||||||
|
|
||||||
status = gdk_seat_grab (gdk_device_get_seat (pointer),
|
status = gdk_seat_grab (gdk_device_get_seat (pointer),
|
||||||
window,
|
window,
|
||||||
GDK_SEAT_CAPABILITY_ALL,
|
GDK_SEAT_CAPABILITY_KEYBOARD,
|
||||||
FALSE,
|
FALSE,
|
||||||
NULL,
|
NULL,
|
||||||
event,
|
event,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue