[gtk+/smooth-scrolling-for-3.4: 4/20] gdk: transfer event->scroll.delta_x/y through csw
- From: Carlos Garnacho <carlosg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/smooth-scrolling-for-3.4: 4/20] gdk: transfer event->scroll.delta_x/y through csw
- Date: Thu, 23 Feb 2012 13:49:32 +0000 (UTC)
commit 4cc0dbbf1012da626b4ffc1ee12d0da7607bed12
Author: Michael Natterer <mitch lanedo com>
Date: Tue Jan 24 00:01:39 2012 +0100
gdk: transfer event->scroll.delta_x/y through csw
gdk/gdkwindow.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/gdk/gdkwindow.c b/gdk/gdkwindow.c
index c9bac50..1d50637 100644
--- a/gdk/gdkwindow.c
+++ b/gdk/gdkwindow.c
@@ -9707,6 +9707,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;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]