forked from AuroraMiddleware/gtk
wayland: Don't use deprecated function: gdk_window_get_pointer
Replace it with gdk_window_get_device_position.
This commit is contained in:
parent
c66fd84523
commit
32c9251b1e
@ -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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user