Make Config a topleve struct

This commit is contained in:
Isaac Freund 2020-05-02 16:27:00 +02:00
parent d20d01e596
commit a03cab94fc
No known key found for this signature in database
GPG key ID: 86DED400DDFD7A11
2 changed files with 170 additions and 171 deletions

View file

@ -1,12 +1,12 @@
const Self = @This();
const std = @import("std");
const c = @import("c.zig");
const command = @import("command.zig");
const Server = @import("server.zig");
pub const Config = struct {
const Self = @This();
/// Width of borders in pixels
border_width: u32,
@ -204,4 +204,3 @@ pub const Config = struct {
try self.float_filter.append("float");
}
};

View file

@ -4,7 +4,7 @@ const std = @import("std");
const c = @import("c.zig");
const Config = @import("config.zig").Config;
const Config = @import("config.zig");
const DecorationManager = @import("decoration_manager.zig");
const InputManager = @import("input_manager.zig").InputManager;
const Log = @import("log.zig").Log;