summaryrefslogtreecommitdiff
path: root/gdk/x11/gdkcursor-x11.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdk/x11/gdkcursor-x11.c')
-rw-r--r--gdk/x11/gdkcursor-x11.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdk/x11/gdkcursor-x11.c b/gdk/x11/gdkcursor-x11.c
index 60380672c2..6169cc1d89 100644
--- a/gdk/x11/gdkcursor-x11.c
+++ b/gdk/x11/gdkcursor-x11.c
@@ -1035,6 +1035,6 @@ gdk_display_get_maximal_cursor_size (GdkDisplay *display,
screen = gdk_display_get_default_screen (display);
window = gdk_screen_get_root_window (screen);
XQueryBestCursor (GDK_DISPLAY_XDISPLAY (display),
- GDK_WINDOW_XWINDOW (window),
+ GDK_WINDOW_XID (window),
128, 128, width, height);
}