Xwayland: move window to top of X11 stack on focus
This is required for X11 input handling to work properly with overlapping windows.
This commit is contained in:
@ -91,6 +91,7 @@ pub fn close(self: Self) void {
|
||||
|
||||
pub fn setActivated(self: Self, activated: bool) void {
|
||||
self.xwayland_surface.activate(activated);
|
||||
self.xwayland_surface.restack(null, .above);
|
||||
}
|
||||
|
||||
pub fn setFullscreen(self: Self, fullscreen: bool) void {
|
||||
|
Reference in New Issue
Block a user