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,6 +213,7 @@ gdk_quartz_device_core_query_state_helper (GdkWindow *window,
|
||||
|
||||
toplevel = gdk_window_get_effective_toplevel (window);
|
||||
|
||||
if (mask)
|
||||
*mask = _gdk_quartz_events_get_current_event_mask ();
|
||||
|
||||
/* Get the y coordinate, needs to be flipped. */
|
||||
|
Loading…
Reference in New Issue
Block a user