summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorraveit65 <[email protected]>2017-04-02 08:17:11 +0200
committerraveit65 <[email protected]>2017-04-04 17:58:33 +0200
commit0c6d56e56978500d0491f2b809e2e31287eeb98d (patch)
treebe7a8e050b87d917b158467a9d2bbcd3d66d3530
parentb3a06f947493002f75933117343fd8eb8e2469d5 (diff)
downloadlibmatekbd-0c6d56e56978500d0491f2b809e2e31287eeb98d.tar.bz2
libmatekbd-0c6d56e56978500d0491f2b809e2e31287eeb98d.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.c2
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