mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-10-29 05:40:12 -04:00
xwayland: Add support for -force-xrandr-emulation
This commit is contained in:
parent
17b2b06633
commit
02e648c1b2
3 changed files with 13 additions and 0 deletions
|
|
@ -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]));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue