forked from AuroraMiddleware/gtk
gdk/win32/gdkdevice-virtual.c: Don't Use Deprecated APIs
...this was split into two commits as this source file has different line endings (for some reason) from the other GDK-Win32 source files that were updated in the quest to refrain from using deprecated APIs
This commit is contained in:
parent
ae79dd7068
commit
9072be16a4
@ -180,7 +180,7 @@ gdk_device_virtual_set_window_cursor (GdkDevice *device,
|
||||
if (hcursor != NULL)
|
||||
{
|
||||
/* If the pointer is over our window, set new cursor */
|
||||
GdkWindow *curr_window = gdk_window_get_pointer (window, NULL, NULL, NULL);
|
||||
GdkWindow *curr_window = gdk_window_get_device_position (window, device, NULL, NULL, NULL);
|
||||
|
||||
if (curr_window == window ||
|
||||
(curr_window && window == gdk_window_get_toplevel (curr_window)))
|
||||
|
Loading…
Reference in New Issue
Block a user