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
No known key found for this signature in database
GPG Key ID: 86DED400DDFD7A11
2 changed files with 2 additions and 1 deletions

2
deps/zig-wlroots vendored

@ -1 +1 @@
Subproject commit 417c10339e253a978135f48d5573932a340a6992
Subproject commit 49a5f81a71f7b14a3b0e52a5d5d8aa1a9e893bda

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 {