diff --git a/gdk/x11/gdkcursor-x11.c b/gdk/x11/gdkcursor-x11.c index 6cc43a6808..2ad29b7650 100644 --- a/gdk/x11/gdkcursor-x11.c +++ b/gdk/x11/gdkcursor-x11.c @@ -694,7 +694,7 @@ gdk_cursor_new_from_pixmap (GdkDisplay *display, xbg.blue = bg->blue; xbg.green = bg->green; - if (gdk_display_is_closed (display->closed)) + if (gdk_display_is_closed (display)) xcursor = None; else xcursor = XCreatePixmapCursor (GDK_DISPLAY_XDISPLAY (display),