Search
lxdream.org :: lxdream/src/display.c :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename src/display.c
changeset 839:51f1c4195790
prev770:429ff505c450
next849:bbe26d798fc2
author nkeynes
date Tue Sep 02 03:34:00 2008 +0000 (15 years ago)
permissions -rw-r--r--
last change Implement absolute positioning mouse mode when not grabbed
enable/disable grab on dreamcast start/stop where it's requested
by the controllers
file annotate diff log raw
1.1 --- a/src/display.c Mon Jul 28 03:41:25 2008 +0000
1.2 +++ b/src/display.c Tue Sep 02 03:34:00 2008 +0000
1.3 @@ -351,11 +351,11 @@
1.4 }
1.5 }
1.6
1.7 -void input_event_mouse( uint32_t buttons, int32_t x, int32_t y )
1.8 +void input_event_mouse( uint32_t buttons, int32_t x, int32_t y, gboolean absolute )
1.9 {
1.10 mouse_entry_t ent = mousehooks;
1.11 while( ent != NULL ) {
1.12 - ent->callback(ent->data, buttons, x, y);
1.13 + ent->callback(ent->data, buttons, x, y, absolute);
1.14 ent = ent->next;
1.15 }
1.16 }
.