diff options
author | Rui Matos <tiagomatos@gmail.com> | 2016-09-13 14:07:51 +0200 |
---|---|---|
committer | Rui Matos <tiagomatos@gmail.com> | 2016-09-13 18:44:09 +0200 |
commit | 41b05f08278f57098463b9dcdb10cea59736c03f (patch) | |
tree | f1f958888382a23bb7e7c5c5b1541a875d5c47e3 | |
parent | 4bb8175e600e8c7275c8fd5614afd811b4867ccc (diff) | |
download | libgnomekbd-41b05f08278f57098463b9dcdb10cea59736c03f.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 |