xwayland: fix -noTouchPointerEmulation

Passing -noTouchPointerEmulation results in an error about the
flag not being recognized.

Signed-off-by: Simon Ser <contact@emersion.fr>
Fixes: 7d34b1f2b7 ("xwayland: add -noTouchPointerEmulation")
This commit is contained in:
Simon Ser 2021-10-22 18:19:48 +02:00
parent f37d11cd96
commit ccffe90c36

View File

@ -188,6 +188,7 @@ ddxProcessArgument(int argc, char *argv[], int i)
}
else if (strcmp(argv[i], "-noTouchPointerEmulation") == 0) {
touchEmulatePointer = FALSE;
return 1;
}
return 0;