From: Marijn van Vliet Date: Sat, 18 Jun 2011 10:22:57 +0000 (+0200) Subject: fixed glk_request_mouse_event to only generate one mouse event. When X-Git-Tag: v0.9~73^2~10 X-Git-Url: https://git.stderr.nl/gitweb?a=commitdiff_plain;h=e70e5d07e5071b71c6a064a3d1be1a468b494c1a;p=projects%2Fchimara%2Fchimara.git fixed glk_request_mouse_event to only generate one mouse event. When another mouse event is desired, glk_request_mouse_event must be called again. --- diff --git a/libchimara/mouse.c b/libchimara/mouse.c index 1f54b5c..2c7d7b2 100644 --- a/libchimara/mouse.c +++ b/libchimara/mouse.c @@ -51,5 +51,7 @@ on_window_button_press(GtkWidget *widget, GdkEventButton *event, winid_t win) ILLEGAL_PARAM("Unknown window type: %u", win->type); } + g_signal_handler_block(win->widget, win->button_press_event_handler); + return TRUE; }