summaryrefslogtreecommitdiff
path: root/protocol
diff options
context:
space:
mode:
authorKristian Høgsberg <krh@bitplanet.net>2014-02-11 13:50:08 -0800
committerKristian Høgsberg <krh@bitplanet.net>2014-02-11 16:22:10 -0800
commit239902b323fc545c68469b465bf4af60e6655d02 (patch)
tree43cfc9f0a83a3c4466872e743d65917d6827bebe /protocol
parent2bff94e057f91f6a483b34421bec2e24b9765f4f (diff)
downloadweston-239902b323fc545c68469b465bf4af60e6655d02.tar.gz
client: Fix shell unstable version check
Use a static assert to catch mismatch between implementation and interface version. Fix window.c to not use XDG_SHELL_VERSION_CURRENT, which will fail to catch version mismatches. The implementation version must updated manually when the implementation is updated to use the new interface.
Diffstat (limited to 'protocol')
-rw-r--r--protocol/xdg-shell.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/protocol/xdg-shell.xml b/protocol/xdg-shell.xml
index d122ff5e..ef755b72 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="1" summary="Always the latest version"/>
+ <entry name="current" value="2" summary="Always the latest version"/>
</enum>