[gnome-flashback] shell: don't grab keys without modifiers



commit b94272fcea37b6f33411c70f1339e397746140b3
Author: Alberts Muktupāvels <alberts muktupavels gmail com>
Date:   Thu Apr 9 02:22:51 2015 +0300

    shell: don't grab keys without modifiers

 gnome-flashback/libshell/flashback-key-bindings.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/gnome-flashback/libshell/flashback-key-bindings.c 
b/gnome-flashback/libshell/flashback-key-bindings.c
index 30db02b..f14fd4e 100644
--- a/gnome-flashback/libshell/flashback-key-bindings.c
+++ b/gnome-flashback/libshell/flashback-key-bindings.c
@@ -155,6 +155,9 @@ flashback_key_bindings_change_keygrab (FlashbackKeyBindings *bindings,
 {
        guint ignored_mask;
 
+       if (modifiers == 0)
+               return;
+
        gdk_error_trap_push ();
 
        ignored_mask = 0;


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]