Skip to content

Commit

Permalink
Xwayland: move window to top of X11 stack on focus
Browse files Browse the repository at this point in the history
This is required for X11 input handling to work properly with
overlapping windows.
  • Loading branch information
ifreund committed Jan 2, 2022
1 parent ea4bd5e commit e16eabd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion deps/zig-wlroots
1 change: 1 addition & 0 deletions river/XwaylandView.zig
Expand Up @@ -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 {
Expand Down

0 comments on commit e16eabd

Please sign in to comment.