xwayland.c: Do not raise window if deactivating

Fixes #270
This commit is contained in:
Consolatis 2022-03-12 11:49:05 +01:00 committed by Johan Malm
parent 08c537ebd9
commit 067b0e8798

View file

@ -368,8 +368,10 @@ set_activated(struct view *view, bool activated)
}
wlr_xwayland_surface_activate(surface, activated);
if (activated) {
wlr_xwayland_surface_restack(surface, NULL, XCB_STACK_MODE_ABOVE);
}
}
static void
set_fullscreen(struct view *view, bool fullscreen)