summaryrefslogtreecommitdiff
path: root/gdk/win32/gdkdevice-virtual.c
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2017-08-08 15:43:03 -0400
committerMatthias Clasen <mclasen@redhat.com>2017-08-11 15:45:23 -0400
commitc409fca703cd5e8c90b2843aa2613b34405284b9 (patch)
tree1cb7483c8fc8268dbb6a5ae563bbccf3aa34e788 /gdk/win32/gdkdevice-virtual.c
parent8d3dd50948255e6c3ca6abc353c83f271aac3d5e (diff)
downloadgtk+-c409fca703cd5e8c90b2843aa2613b34405284b9.tar.gz
Drop root windows from some internal apis
_gdk_device_query_state was needlessly shuffling root windows around.
Diffstat (limited to 'gdk/win32/gdkdevice-virtual.c')
-rw-r--r--gdk/win32/gdkdevice-virtual.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/gdk/win32/gdkdevice-virtual.c b/gdk/win32/gdkdevice-virtual.c
index 452bd39a47..36c533b886 100644
--- a/gdk/win32/gdkdevice-virtual.c
+++ b/gdk/win32/gdkdevice-virtual.c
@@ -133,7 +133,6 @@ gdk_device_virtual_warp (GdkDevice *device,
static void
gdk_device_virtual_query_state (GdkDevice *device,
GdkWindow *window,
- GdkWindow **root_window,
GdkWindow **child_window,
gdouble *root_x,
gdouble *root_y,
@@ -144,7 +143,7 @@ gdk_device_virtual_query_state (GdkDevice *device,
GdkDeviceVirtual *virtual = GDK_DEVICE_VIRTUAL (device);
_gdk_device_query_state (virtual->active_device,
- window, root_window, child_window,
+ window, child_window,
root_x, root_y,
win_x, win_y,
mask);