deps: update zig-wlroots

Simplifies wlr_seat.keyboardNotifyEnter() signature.
This commit is contained in:
tiosgz 2024-02-18 16:08:13 +00:00
parent bd52c155ef
commit 93c2a2fd08
2 changed files with 3 additions and 4 deletions

2
deps/zig-wlroots vendored

@ -1 +1 @@
Subproject commit aae7f237e270ed8fc2ff10f3a661ced618c527cf Subproject commit 2149026047c95b3cad2eb2bf1e3e9f66447dae97

View File

@ -313,12 +313,11 @@ fn keyboardNotifyEnter(self: *Self, wlr_surface: *wlr.Surface) void {
self.wlr_seat.keyboardNotifyEnter( self.wlr_seat.keyboardNotifyEnter(
wlr_surface, wlr_surface,
&keycodes.buffer, keycodes.constSlice(),
keycodes.len,
&wlr_keyboard.modifiers, &wlr_keyboard.modifiers,
); );
} else { } else {
self.wlr_seat.keyboardNotifyEnter(wlr_surface, null, 0, null); self.wlr_seat.keyboardNotifyEnter(wlr_surface, &.{}, null);
} }
} }