Revert "gdk: Don't crash when resetting cursor"

Patch didn't get reviewed yet.

This reverts commit 779591b62f.
This commit is contained in:
Bastien Nocera 2012-05-15 17:57:33 +01:00
parent 5bf82077f5
commit 0c6b54aa44

View File

@ -7805,8 +7805,7 @@ 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);
if (impl_class->set_device_cursor)
impl_class->set_device_cursor (toplevel, device, cursor);
impl_class->set_device_cursor (toplevel, device, cursor);
}
static gboolean