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:
Danny Milosavljevic 2026-01-09 03:12:26 +01:00
parent 1f0fb95e3b
commit 7c58faeac4

View file

@ -48,6 +48,8 @@ noreturn static void exec_xwayland(struct wlr_xwayland_server *server,
argv[i++] = server->display_name;
argv[i++] = "-rootless";
argv[i++] = "-core";
argv[i++] = "-extension";
argv[i++] = "XTEST";
argv[i++] = "-terminate";
#if HAVE_XWAYLAND_TERMINATE_DELAY