From 96d838c1f4af144da1506b4df10f16057417cbab Mon Sep 17 00:00:00 2001 From: Hanspeter Portner Date: Wed, 7 Dec 2016 22:51:49 +0100 Subject: Fix missing KeyRelease events for X11 in Gtk --- src/x11_in_gtk2.c | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'src/x11_in_gtk2.c') diff --git a/src/x11_in_gtk2.c b/src/x11_in_gtk2.c index 56f751d..dc69477 100644 --- a/src/x11_in_gtk2.c +++ b/src/x11_in_gtk2.c @@ -266,10 +266,11 @@ suil_x11_wrapper_class_init(SuilX11WrapperClass* klass) GObjectClass* const gobject_class = G_OBJECT_CLASS(klass); GtkWidgetClass* const widget_class = GTK_WIDGET_CLASS(klass); - gobject_class->finalize = suil_x11_wrapper_finalize; - widget_class->realize = suil_x11_wrapper_realize; - widget_class->show = suil_x11_wrapper_show; - widget_class->key_press_event = suil_x11_wrapper_key_event; + gobject_class->finalize = suil_x11_wrapper_finalize; + widget_class->realize = suil_x11_wrapper_realize; + widget_class->show = suil_x11_wrapper_show; + widget_class->key_press_event = suil_x11_wrapper_key_event; + widget_class->key_release_event = suil_x11_wrapper_key_event; } static void -- cgit v1.2.1