Skip to content
Snippets Groups Projects
Commit cb33e0d2 authored by Demi Marie Obenour's avatar Demi Marie Obenour Committed by Olivier Fourdan
Browse files

Forbid server grabs by non-WM on *rootless* XWayland


a77d95af intended to do this, but the
check for “is this rootless or rootful XWayland” was inverted.

Fixes: a77d95af ("xwayland: Prevent Xserver grabs with rootless")
Signed-off-by: Demi Marie Obenour's avatarDemi Marie Obenour <demiobenour@gmail.com>
Reviewed-by: default avatarOlivier Fourdan <ofourdan@redhat.com>
parent c9edd3d5
No related branches found
No related tags found
1 merge request!980Forbid server grabs by non-WM on *rootless* XWayland
......@@ -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];
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment