[gnome-flashback] shell: don't grab keys without modifiers
- From: Alberts Muktupāvels <muktupavels src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-flashback] shell: don't grab keys without modifiers
- Date: Wed, 8 Apr 2015 23:36:20 +0000 (UTC)
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]