diff options
| author | Isaac Freund <mail@isaacfreund.com> | 2022-01-02 04:32:28 +0000 |
|---|---|---|
| committer | Isaac Freund <mail@isaacfreund.com> | 2022-01-02 04:32:28 +0000 |
| commit | e16eabd9282e77c89e47874838443fb34150b56d (patch) | |
| tree | 5110e5f8cf2423f3bfc1270d60f564fdb926f209 | |
| parent | ea4bd5e54b594c9524ee0522309faeb9c99d830c (diff) | |
| download | river-e16eabd9282e77c89e47874838443fb34150b56d.tar.gz river-e16eabd9282e77c89e47874838443fb34150b56d.tar.xz | |
Xwayland: move window to top of X11 stack on focus
This is required for X11 input handling to work properly with
overlapping windows.
| m--------- | deps/zig-wlroots | 0 | ||||
| -rw-r--r-- | river/XwaylandView.zig | 1 |
2 files changed, 1 insertions, 0 deletions
diff --git a/deps/zig-wlroots b/deps/zig-wlroots -Subproject 417c10339e253a978135f48d5573932a340a699 +Subproject 49a5f81a71f7b14a3b0e52a5d5d8aa1a9e893bd diff --git a/river/XwaylandView.zig b/river/XwaylandView.zig index 8bc27bf..ff29cf8 100644 --- a/river/XwaylandView.zig +++ b/river/XwaylandView.zig @@ -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 { |
