Remove unused variable and fix zig fmt
This commit is contained in:
parent
7934cbfaea
commit
f3bfc59b7d
@ -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;
|
||||
|
@ -22,7 +22,6 @@ const Seat = @import("../Seat.zig");
|
||||
|
||||
pub fn layout(seat: *Seat, arg: Arg) void {
|
||||
const layout_name = arg.str;
|
||||
const config = seat.input_manager.server.config;
|
||||
seat.focused_output.layout = seat.focused_output.getLayoutByName(layout_name);
|
||||
seat.focused_output.arrangeViews();
|
||||
seat.input_manager.server.root.startTransaction();
|
||||
|
Loading…
Reference in New Issue
Block a user