From 0c6d56e56978500d0491f2b809e2e31287eeb98d Mon Sep 17 00:00:00 2001 From: raveit65 Date: Sun, 2 Apr 2017 08:17:11 +0200 Subject: 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 --- libmatekbd/matekbd-keyboard-drawing.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.1