summaryrefslogtreecommitdiff
path: root/gdk/x11/gdkdevice-xi.c
diff options
context:
space:
mode:
authorBenjamin Otte <otte@redhat.com>2011-10-28 07:08:29 -0700
committerBenjamin Otte <otte@redhat.com>2011-11-02 02:32:25 +0100
commit14d35d5c0909b04d1a1b06e9de5692698e5fddf3 (patch)
tree8f8f878ff61c9b4d9012a20698c1e8d86e19f95a /gdk/x11/gdkdevice-xi.c
parente7e3413e2e46a20140d1f317763b081853220baa (diff)
downloadgtk+-14d35d5c0909b04d1a1b06e9de5692698e5fddf3.tar.gz
x11: Don't use deprecated function
Use the replacement instead.
Diffstat (limited to 'gdk/x11/gdkdevice-xi.c')
-rw-r--r--gdk/x11/gdkdevice-xi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdk/x11/gdkdevice-xi.c b/gdk/x11/gdkdevice-xi.c
index 16ef3bd116..8b16815018 100644
--- a/gdk/x11/gdkdevice-xi.c
+++ b/gdk/x11/gdkdevice-xi.c
@@ -292,7 +292,7 @@ gdk_x11_device_xi_get_state (GdkDevice *device,
gint i;
if (mask)
- gdk_window_get_pointer (window, NULL, NULL, mask);
+ gdk_window_get_device_position (window, device, NULL, NULL, mask);
device_xi = GDK_X11_DEVICE_XI (device);
state = XQueryDeviceState (GDK_WINDOW_XDISPLAY (window),