summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Ser <contact@emersion.fr>2021-10-22 18:19:48 +0200
committerSimon Ser <contact@emersion.fr>2021-10-22 18:19:48 +0200
commitccffe90c3646a677c11e7305d9aefc7e51ef8c81 (patch)
tree52ef39ab78a1ac2d456d3b8460105d3f793ce9d7
parentf37d11cd96ba15b40a497d4d7bdd14a77ea9b476 (diff)
xwayland: fix -noTouchPointerEmulation
Passing -noTouchPointerEmulation results in an error about the flag not being recognized. Signed-off-by: Simon Ser <contact@emersion.fr> Fixes: 7d34b1f2b7c6 ("xwayland: add -noTouchPointerEmulation")
-rw-r--r--hw/xwayland/xwayland.c1
1 files changed, 1 insertions, 0 deletions
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;