xdg-shell: Bump unstable version to 3

dev
Kristian Høgsberg 11 years ago
parent 283bf373a1
commit c7680b09dd
  1. 2
      clients/simple-egl.c
  2. 2
      clients/simple-shm.c
  3. 2
      clients/window.c
  4. 2
      desktop-shell/shell.c
  5. 2
      protocol/xdg-shell.xml

@ -686,7 +686,7 @@ static const struct xdg_shell_listener xdg_shell_listener = {
xdg_shell_ping, xdg_shell_ping,
}; };
#define XDG_VERSION 2 /* The version of xdg-shell that we implement */ #define XDG_VERSION 3 /* The version of xdg-shell that we implement */
#ifdef static_assert #ifdef static_assert
static_assert(XDG_VERSION == XDG_SHELL_VERSION_CURRENT, static_assert(XDG_VERSION == XDG_SHELL_VERSION_CURRENT,
"Interface version doesn't match implementation version"); "Interface version doesn't match implementation version");

@ -325,7 +325,7 @@ static const struct xdg_shell_listener xdg_shell_listener = {
xdg_shell_ping, xdg_shell_ping,
}; };
#define XDG_VERSION 2 /* The version of xdg-shell that we implement */ #define XDG_VERSION 3 /* The version of xdg-shell that we implement */
#ifdef static_assert #ifdef static_assert
static_assert(XDG_VERSION == XDG_SHELL_VERSION_CURRENT, static_assert(XDG_VERSION == XDG_SHELL_VERSION_CURRENT,
"Interface version doesn't match implementation version"); "Interface version doesn't match implementation version");

@ -4971,7 +4971,7 @@ static const struct xdg_shell_listener xdg_shell_listener = {
xdg_shell_ping, xdg_shell_ping,
}; };
#define XDG_VERSION 2 /* The version of xdg-shell that we implement */ #define XDG_VERSION 3 /* The version of xdg-shell that we implement */
#ifdef static_assert #ifdef static_assert
static_assert(XDG_VERSION == XDG_SHELL_VERSION_CURRENT, static_assert(XDG_VERSION == XDG_SHELL_VERSION_CURRENT,
"Interface version doesn't match implementation version"); "Interface version doesn't match implementation version");

@ -3545,7 +3545,7 @@ xdg_shell_unversioned_dispatch(const void *implementation,
return 0; return 0;
} }
#define XDG_SERVER_VERSION 2 #define XDG_SERVER_VERSION 3
static_assert(XDG_SERVER_VERSION == XDG_SHELL_VERSION_CURRENT, static_assert(XDG_SERVER_VERSION == XDG_SHELL_VERSION_CURRENT,
"shell implementation doesn't match protocol version"); "shell implementation doesn't match protocol version");

@ -43,7 +43,7 @@
Use this enum to check the protocol version, and it will be updated Use this enum to check the protocol version, and it will be updated
automatically. automatically.
</description> </description>
<entry name="current" value="2" summary="Always the latest version"/> <entry name="current" value="3" summary="Always the latest version"/>
</enum> </enum>

Loading…
Cancel
Save