xdg-shell: Bump unstable version to 3
diff --git a/clients/simple-egl.c b/clients/simple-egl.c
index 675662f..a6deff6 100644
--- a/clients/simple-egl.c
+++ b/clients/simple-egl.c
@@ -686,7 +686,7 @@
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");
diff --git a/clients/simple-shm.c b/clients/simple-shm.c
index f84d08c..0296028 100644
--- a/clients/simple-shm.c
+++ b/clients/simple-shm.c
@@ -325,7 +325,7 @@
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");
diff --git a/clients/window.c b/clients/window.c
index e5fa541..3136a7d 100644
--- a/clients/window.c
+++ b/clients/window.c
@@ -4971,7 +4971,7 @@
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");
diff --git a/desktop-shell/shell.c b/desktop-shell/shell.c
index c686506..fd9ead0 100644
--- a/desktop-shell/shell.c
+++ b/desktop-shell/shell.c
@@ -3545,7 +3545,7 @@
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");
diff --git a/protocol/xdg-shell.xml b/protocol/xdg-shell.xml
index e690740..5d6f69e 100644
--- a/protocol/xdg-shell.xml
+++ b/protocol/xdg-shell.xml
@@ -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>