gdksurface: Ensure some assumptions

Just to please scan-build
This commit is contained in:
Timm Bäder 2020-10-15 18:51:51 +02:00
parent 56e89e8d26
commit b1664534af

View File

@ -2051,6 +2051,9 @@ update_cursor (GdkDisplay *display,
GdkDeviceGrabInfo *grab; GdkDeviceGrabInfo *grab;
GdkCursor *cursor; GdkCursor *cursor;
g_assert (display);
g_assert (device);
pointer_info = _gdk_display_get_pointer_info (display, device); pointer_info = _gdk_display_get_pointer_info (display, device);
pointer_surface = pointer_info->surface_under_pointer; pointer_surface = pointer_info->surface_under_pointer;