diff --git a/deps/zig-wayland b/deps/zig-wayland index 7028578..73fed09 160000 --- a/deps/zig-wayland +++ b/deps/zig-wayland @@ -1 +1 @@ -Subproject commit 70285787ce871a5f2bc91151a610f54b537c8857 +Subproject commit 73fed093301b2e5f58998aa4797ce952bd148676 diff --git a/river/View.zig b/river/View.zig index cab51f0..7430e4a 100644 --- a/river/View.zig +++ b/river/View.zig @@ -584,9 +584,7 @@ pub fn attachAfter(view: *View, output_pending: *Output.PendingState, n: usize) /// Attach above or below the currently focused view pub fn attachRelative(view: *View, output_pending: *Output.PendingState, mode: AttachRelativeMode) void { - var focus_stack_it = output_pending.focus_stack.iterator(.forward); - - const focus_stack_head = focus_stack_it.next() orelse { + const focus_stack_head = output_pending.focus_stack.first() orelse { output_pending.wm_stack.append(view); return; };