xdg-shell: Bump unstable version to 3
This commit is contained in:
@@ -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");
|
||||
|
||||
+1
-1
@@ -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>
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user