deps: update zig-wayland for a minor cleanup

This commit is contained in:
Isaac Freund
2024-03-15 19:07:45 +01:00
parent d64cbd2100
commit 3f49ff9631
2 changed files with 2 additions and 4 deletions

View File

@ -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;
};