gdk: transfer event->scroll.delta_x/y through csw

This commit is contained in:
Michael Natterer 2012-01-24 00:01:39 +01:00 committed by Matthias Clasen
parent f47e470e58
commit c41b52b4f6

View File

@ -9797,6 +9797,8 @@ proxy_button_event (GdkEvent *source_event,
event->scroll.y_root = source_event->scroll.y_root;
event->scroll.state = state;
event->scroll.device = source_event->scroll.device;
event->scroll.delta_x = source_event->scroll.delta_x;
event->scroll.delta_y = source_event->scroll.delta_y;
gdk_event_set_source_device (event, source_device);
return TRUE;