From 02e648c1b2be5aee77893b38bd4fc9923c359fe8 Mon Sep 17 00:00:00 2001 From: Joshua Ashton Date: Wed, 18 May 2022 14:43:48 +0000 Subject: xwayland: Add support for -force-xrandr-emulation --- xwayland/server.c | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'xwayland/server.c') 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])); -- cgit v1.2.3