wayland: Don't use deprecated function: gdk_window_get_pointer

Replace it with gdk_window_get_device_position.
This commit is contained in:
Rob Bradford 2011-12-14 14:27:07 +00:00
parent c66fd84523
commit 32c9251b1e

View 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)
{