mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-05 16:20:10 +00:00
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:
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>
|
||||
|
||||
* NEWS: Updates
|
||||
|
@ -1439,6 +1439,7 @@ create_scroll_event (GdkWindow *window,
|
||||
point = [nsevent locationInWindow];
|
||||
event->scroll.x = point.x;
|
||||
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,
|
||||
&event->scroll.x_root,
|
||||
&event->scroll.y_root);
|
||||
|
Loading…
Reference in New Issue
Block a user