client: Fix shell unstable version check
authorKristian Høgsberg <krh@bitplanet.net>
Tue, 11 Feb 2014 21:50:08 +0000 (13:50 -0800)
committerKristian Høgsberg <krh@bitplanet.net>
Wed, 12 Feb 2014 00:22:10 +0000 (16:22 -0800)
commit239902b323fc545c68469b465bf4af60e6655d02
tree43cfc9f0a83a3c4466872e743d65917d6827bebe
parent2bff94e057f91f6a483b34421bec2e24b9765f4f
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.
clients/simple-egl.c
clients/simple-shm.c
clients/window.c
desktop-shell/shell.c
protocol/xdg-shell.xml