diff --git a/hw/xwayland/xwayland-screen.c b/hw/xwayland/xwayland-screen.c index 72ea97ac2..427489690 100644 --- a/hw/xwayland/xwayland-screen.c +++ b/hw/xwayland/xwayland-screen.c @@ -685,7 +685,7 @@ static void xwl_screen_setup_custom_vector(struct xwl_screen *xwl_screen) { /* Rootfull Xwayland does not need a custom ProcVector (yet?) */ - if (xwl_screen->rootless) + if (!xwl_screen->rootless) return; xwl_screen->GrabServer = ProcVector[X_GrabServer];