wayland: Implement gtk_shell.set_startup_id

Fetch the DESKTOP_STARTUP_ID envvar at the same point it's done
for the X11 backend, and notify the startup ID gotten on
notify_startup_complete().
This commit is contained in:
Carlos Garnacho
2016-02-06 15:07:52 +01:00
parent ce62f0513d
commit ebb175021e
3 changed files with 49 additions and 3 deletions

View File

@ -43,7 +43,9 @@
#define WL_SURFACE_HAS_BUFFER_SCALE 3
#define WL_POINTER_HAS_FRAME 5
#define SUPPORTED_GTK_SHELL_VERSION 2
#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))