Stop passing root window to gdk_device_query_state

The backends do the right thing now.
This commit is contained in:
Matthias Clasen 2017-08-08 19:49:29 -04:00
parent 9859f8f69f
commit 127922cf44

View File

@ -598,7 +598,7 @@ gdk_device_get_position_double (GdkDevice *device,
default_screen = gdk_display_get_default_screen (display);
_gdk_device_query_state (device,
gdk_screen_get_root_window (default_screen),
NULL,
NULL,
&tmp_x, &tmp_y,
NULL, NULL, NULL);