[gnome-flashback] shell: ungrab keyboard before emitting signal



commit 5a5df654b128566f1e19ef794e1ac4e07802a2a6
Author: Alberts Muktupāvels <alberts muktupavels gmail com>
Date:   Sun Aug 23 10:20:09 2015 +0300

    shell: ungrab keyboard before emitting signal
    
    https://bugzilla.gnome.org/show_bug.cgi?id=753529

 gnome-flashback/libshell/flashback-key-bindings.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/gnome-flashback/libshell/flashback-key-bindings.c 
b/gnome-flashback/libshell/flashback-key-bindings.c
index a2c497a..fcc1148 100644
--- a/gnome-flashback/libshell/flashback-key-bindings.c
+++ b/gnome-flashback/libshell/flashback-key-bindings.c
@@ -146,6 +146,7 @@ filter_func (GdkXEvent *xevent,
 
               parameters = build_parameters (0, 0, 0);
 
+              XUngrabKeyboard (bindings->priv->xdisplay, ev->xkey.time);
               g_signal_emit (bindings, signals[BINDING_ACTIVATED], 0,
                              binding->action, parameters);
 


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