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:
Isaac Freund
2022-01-02 04:32:28 +00:00
parent ea4bd5e54b
commit e16eabd928
2 changed files with 2 additions and 1 deletions

View File

@ -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 {