Opened 4 years ago

Closed 4 years ago

#1149 closed Bug Report (fixed)

Fix missing KeyRelease events in x11_in_gt2k.c

Reported by: Hanspeter Portner Owned by: David Robillard
Priority: major Component: Suil
Keywords: Cc:

Description

The following changes since commit d0252036f46ff5eb606973695cb975319e88821b:

  Suil 0.8.4 (2016-09-19 23:58:31 -0400)

are available in the git repository at:

  https://github.com/ventosus/suil.git fix_missing_key_release

for you to fetch changes up to 42565e9062ec833f8e98fe3224f780435a1bb0b4:

  Fix missing KeyRelease events in x11_in_gt2k.c (2016-12-07 22:56:18 +0100)

----------------------------------------------------------------
Hanspeter Portner (1):
      Fix missing KeyRelease events in x11_in_gt2k.c

 src/x11_in_gtk2.c | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

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

Change History (1)

comment:1 Changed 4 years ago by David Robillard

Resolution: fixed
Status: newclosed

Applied as well as to the new Gtk3 wrapper, thanks.

Note: See TracTickets for help on using tickets.