wayland: Add support for gtk_window_set_modal
Add two new requests to the gtk_surface interface: set_modal and unset_modal. The server will currently not do anything special with input focus, and its up to the client to ignore events on the parent surface. This commit bumps the gtk_shell interface version to 2. By connecting to a Wayland server with another gtk_shell interface version any features depending on the gtk_shell protocol will not be available. https://bugzilla.gnome.org/show_bug.cgi?id=745721
This commit is contained in:
		| @ -42,7 +42,7 @@ | ||||
|  | ||||
| #define WL_SURFACE_HAS_BUFFER_SCALE 3 | ||||
|  | ||||
| #define SUPPORTED_GTK_SHELL_VERSION 1 | ||||
| #define SUPPORTED_GTK_SHELL_VERSION 2 | ||||
|  | ||||
| #define GDK_WINDOW_IS_WAYLAND(win)    (GDK_IS_WINDOW_IMPL_WAYLAND (((GdkWindow *)win)->impl)) | ||||
|  | ||||
|  | ||||
		Reference in New Issue
	
	Block a user
	 Jonas Ådahl
					Jonas Ådahl