From 9ee61b3bf9503900e86996ac84f5c2058458352e Mon Sep 17 00:00:00 2001 From: Isaac Freund Date: Tue, 14 Apr 2020 14:24:47 +0200 Subject: [PATCH] Rename default seat to "default" "seat0" seems to be a confusion with physical seats --- src/input_manager.zig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/input_manager.zig b/src/input_manager.zig index 30c06bc..5021538 100644 --- a/src/input_manager.zig +++ b/src/input_manager.zig @@ -7,7 +7,7 @@ const Server = @import("server.zig").Server; pub const InputManager = struct { const Self = @This(); - const default_seat = "seat0"; + const default_seat_name = "default"; server: *Server, @@ -21,7 +21,7 @@ pub const InputManager = struct { self.seats = std.TailQueue(Seat).init(); const seat_node = try server.allocator.create(std.TailQueue(Seat).Node); - try seat_node.data.init(self, default_seat); + try seat_node.data.init(self, default_seat_name); self.seats.prepend(seat_node); // Set up handler for all new input devices made available. This