gdk: Make query_state() vfunc a void vfunc
... and make sure the backends implement it that way. query_state() return value was ignored in all of GDK and caused crashes when it failed.
This commit is contained in:
		| @ -177,7 +177,7 @@ gdk_device_core_warp (GdkDevice *device, | ||||
| { | ||||
| } | ||||
|  | ||||
| static gboolean | ||||
| static void | ||||
| gdk_device_core_query_state (GdkDevice        *device, | ||||
|                              GdkWindow        *window, | ||||
|                              GdkWindow       **root_window, | ||||
| @ -208,8 +208,6 @@ gdk_device_core_query_state (GdkDevice        *device, | ||||
|     *win_y = wd->surface_y; | ||||
|   if (mask) | ||||
|     *mask = wd->modifiers; | ||||
|  | ||||
|   return TRUE; | ||||
| } | ||||
|  | ||||
| static GdkGrabStatus | ||||
|  | ||||
		Reference in New Issue
	
	Block a user
	 Benjamin Otte
					Benjamin Otte