+2004-07-28 Robert Ögren <gtk@roboros.com>
+
+ * gdk/win32/gdkinput-win32.c (_gdk_input_other_event): Set x_root
+ and y_root in button and motion events from the tablet. (#148715)
+
Thu Aug 5 19:58:08 2004 Soeren Sandmann <sandmann@daimi.au.dk>
* gtk/gtkplug.c (gtk_plug_realize): Call
+2004-07-28 Robert Ögren <gtk@roboros.com>
+
+ * gdk/win32/gdkinput-win32.c (_gdk_input_other_event): Set x_root
+ and y_root in button and motion events from the tablet. (#148715)
+
Thu Aug 5 19:58:08 2004 Soeren Sandmann <sandmann@daimi.au.dk>
* gtk/gtkplug.c (gtk_plug_realize): Call
+2004-07-28 Robert Ögren <gtk@roboros.com>
+
+ * gdk/win32/gdkinput-win32.c (_gdk_input_other_event): Set x_root
+ and y_root in button and motion events from the tablet. (#148715)
+
Thu Aug 5 19:58:08 2004 Soeren Sandmann <sandmann@daimi.au.dk>
* gtk/gtkplug.c (gtk_plug_realize): Call
+2004-07-28 Robert Ögren <gtk@roboros.com>
+
+ * gdk/win32/gdkinput-win32.c (_gdk_input_other_event): Set x_root
+ and y_root in button and motion events from the tablet. (#148715)
+
Thu Aug 5 19:58:08 2004 Soeren Sandmann <sandmann@daimi.au.dk>
* gtk/gtkplug.c (gtk_plug_realize): Call
&event->button.x,
&event->button.y);
+ /* Also calculate root coordinates. Note that input_window->root_x
+ is in Win32 screen coordinates. */
+ event->button.x_root = event->button.x + input_window->root_x
+ + _gdk_offset_x;
+ event->button.y_root = event->button.y + input_window->root_y
+ + _gdk_offset_y;
+
event->button.state = ((gdkdev->button_state << 8)
& (GDK_BUTTON1_MASK | GDK_BUTTON2_MASK
| GDK_BUTTON3_MASK | GDK_BUTTON4_MASK
&event->motion.x,
&event->motion.y);
+ /* Also calculate root coordinates. Note that input_window->root_x
+ is in Win32 screen coordinates. */
+ event->motion.x_root = event->motion.x + input_window->root_x
+ + _gdk_offset_x;
+ event->motion.y_root = event->motion.y + input_window->root_y
+ + _gdk_offset_y;
+
event->motion.state = ((gdkdev->button_state << 8)
& (GDK_BUTTON1_MASK | GDK_BUTTON2_MASK
| GDK_BUTTON3_MASK | GDK_BUTTON4_MASK