forked from AuroraMiddleware/gtk
gdk: transfer event->scroll.delta_x/y through csw
This commit is contained in:
parent
f47e470e58
commit
c41b52b4f6
@ -9797,6 +9797,8 @@ proxy_button_event (GdkEvent *source_event,
|
|||||||
event->scroll.y_root = source_event->scroll.y_root;
|
event->scroll.y_root = source_event->scroll.y_root;
|
||||||
event->scroll.state = state;
|
event->scroll.state = state;
|
||||||
event->scroll.device = source_event->scroll.device;
|
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);
|
gdk_event_set_source_device (event, source_device);
|
||||||
return TRUE;
|
return TRUE;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user