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