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