aboutsummaryrefslogtreecommitdiff
path: root/xwayland
diff options
context:
space:
mode:
Diffstat (limited to 'xwayland')
-rw-r--r--xwayland/server.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/xwayland/server.c b/xwayland/server.c
index 7af01b6f..d8006c44 100644
--- a/xwayland/server.c
+++ b/xwayland/server.c
@@ -73,6 +73,14 @@ noreturn static void exec_xwayland(struct wlr_xwayland_server *server) {
argv[i++] = wmfd;
}
+#if HAVE_XWAYLAND_NO_TOUCH_POINTER_EMULATION
+ if (server->options.no_touch_pointer_emulation) {
+ argv[i++] = "-noTouchPointerEmulation";
+ }
+#else
+ server->options.no_touch_pointer_emulation = false;
+#endif
+
argv[i++] = NULL;
assert(i < sizeof(argv) / sizeof(argv[0]));