mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2026-03-12 05:34:35 -04:00
xwayland: Start without XTEST extension.
By default, wlroots starts Xwayland with XTEST which means anybody can inject key events. This disables XTEST.
This commit is contained in:
parent
1f0fb95e3b
commit
7c58faeac4
1 changed files with 2 additions and 0 deletions
|
|
@ -48,6 +48,8 @@ noreturn static void exec_xwayland(struct wlr_xwayland_server *server,
|
||||||
argv[i++] = server->display_name;
|
argv[i++] = server->display_name;
|
||||||
argv[i++] = "-rootless";
|
argv[i++] = "-rootless";
|
||||||
argv[i++] = "-core";
|
argv[i++] = "-core";
|
||||||
|
argv[i++] = "-extension";
|
||||||
|
argv[i++] = "XTEST";
|
||||||
|
|
||||||
argv[i++] = "-terminate";
|
argv[i++] = "-terminate";
|
||||||
#if HAVE_XWAYLAND_TERMINATE_DELAY
|
#if HAVE_XWAYLAND_TERMINATE_DELAY
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue