projects
/
projects
/
chimara
/
chimara.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
983a2bb
)
fixed glk_request_mouse_event to only generate one mouse event. When
author
Marijn van Vliet
<rodin@assepoester.(none)>
Sat, 18 Jun 2011 10:22:57 +0000
(12:22 +0200)
committer
Marijn van Vliet
<rodin@assepoester.(none)>
Sat, 18 Jun 2011 10:22:57 +0000
(12:22 +0200)
another mouse event is desired, glk_request_mouse_event must be called
again.
libchimara/mouse.c
patch
|
blob
|
history
diff --git
a/libchimara/mouse.c
b/libchimara/mouse.c
index 1f54b5cef775f3c33c44fceec3f1ab00facf2162..2c7d7b23812e67de6d83e62fd0659d0334bb930f 100644
(file)
--- 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;
}