aboutsummaryrefslogtreecommitdiff
path: root/src/seat.zig
diff options
context:
space:
mode:
authorIsaac Freund <ifreund@ifreund.xyz>2020-04-27 11:21:49 +0200
committerIsaac Freund <ifreund@ifreund.xyz>2020-04-27 11:21:49 +0200
commitc1b885dd64387015074b8de350a6a1659913c54c (patch)
tree2f774fa6413745c7c8d16bcf4c2db1687aabaae7 /src/seat.zig
parent9b1197feb3cb0aa8904180b950992d602d57ce41 (diff)
downloadriver-c1b885dd64387015074b8de350a6a1659913c54c.tar.gz
river-c1b885dd64387015074b8de350a6a1659913c54c.tar.xz
Clean up some code using c imported enums
Diffstat (limited to 'src/seat.zig')
-rw-r--r--src/seat.zig2
1 files changed, 1 insertions, 1 deletions
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);