commit 4945a2e

Michael Forney  ·  2015-03-15 08:36:23 +0000 UTC
parent d187c98
xdg_shell: Fix initial unversioned_dispatch for new xdg-shell.xml
1 files changed,  +1, -1
+1, -1
1@@ -102,7 +102,7 @@ static int unversioned_dispatch(const void * implementation, void * target,
2 {
3     struct wl_resource * resource = target;
4 
5-    if (opcode != 0)
6+    if (opcode != 1)
7     {
8         wl_resource_post_error(resource, WL_DISPLAY_ERROR_INVALID_OBJECT,
9                                "use_unstable_version must be called first");