mirror of
https://cagebreak.project-repo.co/cagebreak.git
synced 2026-08-09 15:19:11 +02:00
Add restack to xwayland view activation
This commit is contained in:
parent
3b5b85070f
commit
bc9c7a7555
1 changed files with 3 additions and 0 deletions
|
|
@ -63,6 +63,9 @@ static void
|
|||
activate(struct cg_view *view, bool activate) {
|
||||
struct cg_xwayland_view *xwayland_view = xwayland_view_from_view(view);
|
||||
wlr_xwayland_surface_activate(xwayland_view->xwayland_surface, activate);
|
||||
if(activate) {
|
||||
wlr_xwayland_surface_restack(xwayland_view->xwayland_surface, NULL, XCB_STACK_MODE_ABOVE);
|
||||
}
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue