mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-11 11:20:12 +00:00
Check whether mask is NULL
This commit is contained in:
parent
119d29dcb9
commit
73afbc954a
@ -213,7 +213,8 @@ gdk_quartz_device_core_query_state_helper (GdkWindow *window,
|
|||||||
|
|
||||||
toplevel = gdk_window_get_effective_toplevel (window);
|
toplevel = gdk_window_get_effective_toplevel (window);
|
||||||
|
|
||||||
*mask = _gdk_quartz_events_get_current_event_mask ();
|
if (mask)
|
||||||
|
*mask = _gdk_quartz_events_get_current_event_mask ();
|
||||||
|
|
||||||
/* Get the y coordinate, needs to be flipped. */
|
/* Get the y coordinate, needs to be flipped. */
|
||||||
if (window == _gdk_root)
|
if (window == _gdk_root)
|
||||||
|
Loading…
Reference in New Issue
Block a user