diff options
| author | Isaac Freund <ifreund@ifreund.xyz> | 2020-05-20 23:00:06 +0200 |
|---|---|---|
| committer | Isaac Freund <ifreund@ifreund.xyz> | 2020-05-20 23:02:57 +0200 |
| commit | f3bfc59b7d296652320ce7753ebfab769e6c07b7 (patch) | |
| tree | 4c735b2abe4b614c801f99482af328c2ad54a03d /src/Output.zig | |
| parent | 7934cbfaeaca911bacefa7d4b98f43cb2a7526eb (diff) | |
| download | river-f3bfc59b7d296652320ce7753ebfab769e6c07b7.tar.gz river-f3bfc59b7d296652320ce7753ebfab769e6c07b7.tar.xz | |
Remove unused variable and fix zig fmt
Diffstat (limited to 'src/Output.zig')
| -rw-r--r-- | src/Output.zig | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/Output.zig b/src/Output.zig index 6dc999d..2ea8a47 100644 --- a/src/Output.zig +++ b/src/Output.zig @@ -369,10 +369,10 @@ pub fn layoutFull(self: *Self, visible_count: u32, output_tags: u32) void { const border_width = self.root.server.config.border_width; const outer_padding = self.root.server.config.outer_padding; - const layout_width = @intCast(u32, self.usable_box.width) - - (outer_padding * 2) - (border_width * 2); - const layout_height = @intCast(u32, self.usable_box.height) - - (outer_padding * 2) - (border_width * 2); + const layout_width = @intCast(u32, self.usable_box.width) - + (outer_padding * 2) - (border_width * 2); + const layout_height = @intCast(u32, self.usable_box.height) - + (outer_padding * 2) - (border_width * 2); const xy_offset = @intCast(i32, outer_padding + border_width); var i: u32 = 0; |
