diff options
author | Rui Matos <tiagomatos@gmail.com> | 2016-09-13 14:07:51 +0200 |
---|---|---|
committer | Rui Matos <tiagomatos@gmail.com> | 2016-09-14 21:23:26 +0200 |
commit | 648cd5a6b9353851a12f94f422e157c3d228623b (patch) | |
tree | f5510256e80ac90ae118aa30d4b75ecc28f59404 | |
parent | 907c123b5ca9a2f1c5673b0634ba3c477cfcc973 (diff) | |
download | libgnomekbd-648cd5a6b9353851a12f94f422e157c3d228623b.tar.gz |
gkbd-keyboard-drawing: Prevent gtk+ keynav from taking focus away
We need to tell gtk+ we handled the key event otherwise gtk+ keynav
key events will move focus to the close button and it looks like the
dialog stopped working.
-rw-r--r-- | libgnomekbd/gkbd-keyboard-drawing.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libgnomekbd/gkbd-keyboard-drawing.c b/libgnomekbd/gkbd-keyboard-drawing.c index 9b8dae3..6894f47 100644 --- a/libgnomekbd/gkbd-keyboard-drawing.c +++ b/libgnomekbd/gkbd-keyboard-drawing.c @@ -1574,7 +1574,7 @@ key_event (GtkWidget * widget, key->pressed = (event->type == GDK_KEY_PRESS); invalidate_key_region (drawing, key); - return FALSE; + return TRUE; } static gint |