diff --git a/gdk/gdkwindow.c b/gdk/gdkwindow.c index 2683073d09..b7e6a13386 100644 --- a/gdk/gdkwindow.c +++ b/gdk/gdkwindow.c @@ -7805,7 +7805,8 @@ update_cursor (GdkDisplay *display, * which native window has what cursor set. */ toplevel = get_event_toplevel (pointer_window); impl_class = GDK_WINDOW_IMPL_GET_CLASS (toplevel->impl); - impl_class->set_device_cursor (toplevel, device, cursor); + if (impl_class->set_device_cursor) + impl_class->set_device_cursor (toplevel, device, cursor); } static gboolean