mirror of
https://gitlab.freedesktop.org/wayland/weston
synced 2024-07-21 10:44:25 +00:00
xdg-shell: Bump unstable version to 3
This commit is contained in:
parent
283bf373a1
commit
c7680b09dd
|
@ -686,7 +686,7 @@ static const struct xdg_shell_listener xdg_shell_listener = {
|
|||
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
|
||||
static_assert(XDG_VERSION == XDG_SHELL_VERSION_CURRENT,
|
||||
"Interface version doesn't match implementation version");
|
||||
|
|
|
@ -325,7 +325,7 @@ static const struct xdg_shell_listener xdg_shell_listener = {
|
|||
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
|
||||
static_assert(XDG_VERSION == XDG_SHELL_VERSION_CURRENT,
|
||||
"Interface version doesn't match implementation version");
|
||||
|
|
|
@ -4971,7 +4971,7 @@ static const struct xdg_shell_listener xdg_shell_listener = {
|
|||
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
|
||||
static_assert(XDG_VERSION == XDG_SHELL_VERSION_CURRENT,
|
||||
"Interface version doesn't match implementation version");
|
||||
|
|
|
@ -3545,7 +3545,7 @@ xdg_shell_unversioned_dispatch(const void *implementation,
|
|||
return 0;
|
||||
}
|
||||
|
||||
#define XDG_SERVER_VERSION 2
|
||||
#define XDG_SERVER_VERSION 3
|
||||
|
||||
static_assert(XDG_SERVER_VERSION == XDG_SHELL_VERSION_CURRENT,
|
||||
"shell implementation doesn't match protocol version");
|
||||
|
|
|
@ -43,7 +43,7 @@
|
|||
Use this enum to check the protocol version, and it will be updated
|
||||
automatically.
|
||||
</description>
|
||||
<entry name="current" value="2" summary="Always the latest version"/>
|
||||
<entry name="current" value="3" summary="Always the latest version"/>
|
||||
</enum>
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue