Xwayland: only raise views if activated
This commit is contained in:
parent
b7b371cb4f
commit
f21eb4d05b
@ -129,7 +129,9 @@ fn setActivated(self: Self, activated: bool) void {
|
|||||||
self.xwayland_surface.setMinimized(false);
|
self.xwayland_surface.setMinimized(false);
|
||||||
}
|
}
|
||||||
self.xwayland_surface.activate(activated);
|
self.xwayland_surface.activate(activated);
|
||||||
self.xwayland_surface.restack(null, .above);
|
if (activated) {
|
||||||
|
self.xwayland_surface.restack(null, .above);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Get the current title of the xwayland surface if any.
|
/// Get the current title of the xwayland surface if any.
|
||||||
|
Loading…
Reference in New Issue
Block a user