commit 4945a2eaceb0547ed2279b69204157aaf043f3a8
parent d187c98c157ee13baa8258d50da1952e69b348ba
Author: Michael Forney <mforney@mforney.org>
Date: Sun, 15 Mar 2015 08:36:23 +0000
xdg_shell: Fix initial unversioned_dispatch for new xdg-shell.xml
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libswc/xdg_shell.c b/libswc/xdg_shell.c
@@ -102,7 +102,7 @@ static int unversioned_dispatch(const void * implementation, void * target,
{
struct wl_resource * resource = target;
- if (opcode != 0)
+ if (opcode != 1)
{
wl_resource_post_error(resource, WL_DISPLAY_ERROR_INVALID_OBJECT,
"use_unstable_version must be called first");