]> Pileus Git - ~andy/gtk/commitdiff
wayland: Don't use deprecated function: gdk_window_get_pointer
authorRob Bradford <rob@linux.intel.com>
Wed, 14 Dec 2011 14:27:07 +0000 (14:27 +0000)
committerRob Bradford <rob@linux.intel.com>
Wed, 14 Dec 2011 14:43:29 +0000 (14:43 +0000)
Replace it with gdk_window_get_device_position.

gdk/wayland/gdkdevice-wayland.c

index 2a051de4da69f76156723741b252db7db3d81ada..806c568399e5d71070546c8a4da154a01ed36e73 100644 (file)
@@ -114,7 +114,7 @@ gdk_device_core_get_state (GdkDevice       *device,
 {
   gint x_int, y_int;
 
-  gdk_window_get_pointer (window, &x_int, &y_int, mask);
+  gdk_window_get_device_position (window, device, &x_int, &y_int, mask);
 
   if (axes)
     {