Rename gaps -> padding

This commit is contained in:
Isaac Freund
2020-04-07 11:54:46 +02:00
parent 5c320c0b8c
commit 626b2c691b
3 changed files with 25 additions and 25 deletions

View File

@ -93,8 +93,8 @@ pub const View = struct {
if (self.pending_box) |pending_box| {
self.pending_serial = c.wlr_xdg_toplevel_set_size(
self.wlr_xdg_surface,
pending_box.width - self.root.border_width * 2 - self.root.inner_gap_width * 2,
pending_box.height - self.root.border_width * 2 - self.root.inner_gap_width * 2,
pending_box.width - self.root.border_width * 2 - self.root.view_padding * 2,
pending_box.height - self.root.border_width * 2 - self.root.view_padding * 2,
);
} else {
// TODO: log warning