Add state to the scroll event (bug #516757, Paul Davis).
2008-02-16 Richard Hult <richard@imendio.com> * gdk/quartz/gdkevents-quartz.c (create_scroll_event): Add state to the scroll event (bug #516757, Paul Davis). svn path=/trunk/; revision=19598
This commit is contained in:
committed by
Richard Hult
parent
7d5bcbfcf0
commit
ccc8afdbf2
@ -1,3 +1,8 @@
|
|||||||
|
2008-02-16 Richard Hult <richard@imendio.com>
|
||||||
|
|
||||||
|
* gdk/quartz/gdkevents-quartz.c (create_scroll_event): Add state
|
||||||
|
to the scroll event (bug #516757, Paul Davis).
|
||||||
|
|
||||||
2008-02-16 Matthias Clasen <mclasen@redhat.com>
|
2008-02-16 Matthias Clasen <mclasen@redhat.com>
|
||||||
|
|
||||||
* NEWS: Updates
|
* NEWS: Updates
|
||||||
|
|||||||
@ -1439,6 +1439,7 @@ create_scroll_event (GdkWindow *window,
|
|||||||
point = [nsevent locationInWindow];
|
point = [nsevent locationInWindow];
|
||||||
event->scroll.x = point.x;
|
event->scroll.x = point.x;
|
||||||
event->scroll.y = point.y;
|
event->scroll.y = point.y;
|
||||||
|
event->scroll.state = get_keyboard_modifiers_from_ns_event (nsevent);
|
||||||
convert_window_coordinates_to_root (window, event->scroll.x, event->scroll.y,
|
convert_window_coordinates_to_root (window, event->scroll.x, event->scroll.y,
|
||||||
&event->scroll.x_root,
|
&event->scroll.x_root,
|
||||||
&event->scroll.y_root);
|
&event->scroll.y_root);
|
||||||
|
|||||||
Reference in New Issue
Block a user