wayland: Don't invent our own unstable protocol semantics
The gtk_shell protocol used some half baked unstable protocol semantics that worked by only allowing binding the exact version of the interface. This hack is a bit too confusing and it makes it impossible to do any compatible changes without breaking things. So, instead rename it to include a number in the interface names. This way we can add requests and events without causing compatibility issues, and we can later remove requests and events by bumping the number in the interface names. https://bugzilla.gnome.org/show_bug.cgi?id=763001
This commit is contained in:
		| @ -44,10 +44,6 @@ | ||||
| #define WL_SURFACE_HAS_BUFFER_SCALE 3 | ||||
| #define WL_POINTER_HAS_FRAME 5 | ||||
|  | ||||
| #define SUPPORTED_GTK_SHELL_VERSION 3 | ||||
| #define MINIMUM_GTK_SHELL_VERSION   2 | ||||
| #define GTK_SHELL_HAS_SET_STARTUP_ID 3 | ||||
|  | ||||
| #define GDK_WINDOW_IS_WAYLAND(win)    (GDK_IS_WINDOW_IMPL_WAYLAND (((GdkWindow *)win)->impl)) | ||||
|  | ||||
| GdkKeymap *_gdk_wayland_keymap_new (void); | ||||
|  | ||||
		Reference in New Issue
	
	Block a user
	 Jonas Ådahl
					Jonas Ådahl