From ccffe90c3646a677c11e7305d9aefc7e51ef8c81 Mon Sep 17 00:00:00 2001 From: Simon Ser Date: Fri, 22 Oct 2021 18:19:48 +0200 Subject: [PATCH] xwayland: fix -noTouchPointerEmulation Passing -noTouchPointerEmulation results in an error about the flag not being recognized. Signed-off-by: Simon Ser Fixes: 7d34b1f2b7c6 ("xwayland: add -noTouchPointerEmulation") --- hw/xwayland/xwayland.c | 1 + 1 file changed, 1 insertion(+) diff --git a/hw/xwayland/xwayland.c b/hw/xwayland/xwayland.c index 801af38aa..21587dbb6 100644 --- a/hw/xwayland/xwayland.c +++ b/hw/xwayland/xwayland.c @@ -188,6 +188,7 @@ ddxProcessArgument(int argc, char *argv[], int i) } else if (strcmp(argv[i], "-noTouchPointerEmulation") == 0) { touchEmulatePointer = FALSE; + return 1; } return 0;