Check whether mask is NULL
This commit is contained in:
		| @ -213,7 +213,8 @@ gdk_quartz_device_core_query_state_helper (GdkWindow       *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. */ | ||||
|   if (window == _gdk_root) | ||||
|  | ||||
		Reference in New Issue
	
	Block a user
	 Kristian Rietveld
					Kristian Rietveld