summaryrefslogtreecommitdiff
path: root/gdk/win32/gdkdevice-virtual.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdk/win32/gdkdevice-virtual.c')
-rw-r--r--gdk/win32/gdkdevice-virtual.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gdk/win32/gdkdevice-virtual.c b/gdk/win32/gdkdevice-virtual.c
index 30fc95c884..0826ee3013 100644
--- a/gdk/win32/gdkdevice-virtual.c
+++ b/gdk/win32/gdkdevice-virtual.c
@@ -108,6 +108,8 @@ gdk_device_virtual_set_surface_cursor (GdkDevice *device,
*/
if (win32_hcursor != NULL)
SetCursor (gdk_win32_hcursor_get_handle (win32_hcursor));
+
+ g_set_object (&GDK_SURFACE_IMPL_WIN32 (window->impl)->cursor, win32_hcursor);
}
static void