wayland: add shortcut inhibitor support
This adds support for the shortcut inhibitor protocol in gdk/wayland backend. A shortcut inhibitor request is issued from the gdk wayland backend for both the older, deprecated API gdk_device_grab() and the new gdk seat API gdk_seat_grab(), but only if the requested capability is for the keyboard only. https://bugzilla.gnome.org/show_bug.cgi?id=783343
This commit is contained in:
		| @ -281,4 +281,9 @@ void gdk_wayland_seat_set_global_cursor (GdkSeat   *seat, | ||||
|  | ||||
| struct wl_output *gdk_wayland_window_get_wl_output (GdkWindow *window); | ||||
|  | ||||
| void gdk_wayland_window_inhibit_shortcuts (GdkWindow *window, | ||||
|                                            GdkSeat   *gdk_seat); | ||||
| void gdk_wayland_window_restore_shortcuts (GdkWindow *window, | ||||
|                                            GdkSeat   *gdk_seat); | ||||
|  | ||||
| #endif /* __GDK_PRIVATE_WAYLAND_H__ */ | ||||
|  | ||||
		Reference in New Issue
	
	Block a user
	 Olivier Fourdan
					Olivier Fourdan