keyboard: Don't regrab the keyboard after an event
It was already grabbed if we received the event, so no need to grab it again. https://bugzilla.gnome.org/show_bug.cgi?id=769314
This commit is contained in:
parent
6c7746abb3
commit
141441eb71
1 changed files with 0 additions and 3 deletions
|
@ -688,9 +688,6 @@ cc_keyboard_shortcut_editor_key_press_event (GtkWidget *widget,
|
||||||
/* CapsLock isn't supported as a keybinding modifier, so keep it from confusing us */
|
/* CapsLock isn't supported as a keybinding modifier, so keep it from confusing us */
|
||||||
self->custom_mask &= ~GDK_LOCK_MASK;
|
self->custom_mask &= ~GDK_LOCK_MASK;
|
||||||
|
|
||||||
if (!self->grab_pointer)
|
|
||||||
grab_seat (self, (GdkEvent*) event);
|
|
||||||
|
|
||||||
setup_custom_shortcut (self);
|
setup_custom_shortcut (self);
|
||||||
|
|
||||||
return GDK_EVENT_STOP;
|
return GDK_EVENT_STOP;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue