From c1b885dd64387015074b8de350a6a1659913c54c Mon Sep 17 00:00:00 2001 From: Isaac Freund Date: Mon, 27 Apr 2020 11:21:49 +0200 Subject: Clean up some code using c imported enums --- src/seat.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/seat.zig') diff --git a/src/seat.zig b/src/seat.zig index 030feb2..701f1b8 100644 --- a/src/seat.zig +++ b/src/seat.zig @@ -248,7 +248,7 @@ pub const Seat = struct { // We need to let the wlr_seat know what our capabilities are, which is // communiciated to the client. We always have a cursor, even if // there are no pointer devices, so we always include that capability. - var caps: u32 = @intCast(u32, c.WL_SEAT_CAPABILITY_POINTER); + var caps = @intCast(u32, c.WL_SEAT_CAPABILITY_POINTER); // if list not empty if (self.keyboards.len > 0) { caps |= @intCast(u32, c.WL_SEAT_CAPABILITY_KEYBOARD); -- cgit v1.2.3