diff options
author | raveit65 <[email protected]> | 2017-04-02 08:17:11 +0200 |
---|---|---|
committer | raveit65 <[email protected]> | 2017-04-02 23:19:40 +0200 |
commit | 9476ad0a5ebd70c65add0abd5addfe0b0522bf23 (patch) | |
tree | 1ed08118e8f6bae500be56e0adbb747cc03ab726 | |
parent | 1fc1d3610a59d0450fa1e077b8c65c1f26968027 (diff) | |
download | libmatekbd-9476ad0a5ebd70c65add0abd5addfe0b0522bf23.tar.bz2 libmatekbd-9476ad0a5ebd70c65add0abd5addfe0b0522bf23.tar.xz |
matekbd-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.
taken from:
https://git.gnome.org/browse/libgnomekbd/commit/?id=648cd5a
-rw-r--r-- | libmatekbd/matekbd-keyboard-drawing.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libmatekbd/matekbd-keyboard-drawing.c b/libmatekbd/matekbd-keyboard-drawing.c index b4abf50..83c91ea 100644 --- a/libmatekbd/matekbd-keyboard-drawing.c +++ b/libmatekbd/matekbd-keyboard-drawing.c @@ -1585,7 +1585,7 @@ key_event (GtkWidget * widget, } invalidate_key_region (drawing, key); - return FALSE; + return TRUE; } static gint |