aboutsummaryrefslogtreecommitdiff
path: root/src/root.zig
diff options
context:
space:
mode:
authorIsaac Freund <ifreund@ifreund.xyz>2020-04-07 11:54:46 +0200
committerIsaac Freund <ifreund@ifreund.xyz>2020-04-07 11:54:46 +0200
commit626b2c691b094c59bee3425bfbd97887a39ec1d1 (patch)
tree59eef925f1cf366d0fc13c0b73711ad88b2efd86 /src/root.zig
parent5c320c0b8c5620f7927d392f7c36eecaecdaac51 (diff)
downloadriver-626b2c691b094c59bee3425bfbd97887a39ec1d1.tar.gz
river-626b2c691b094c59bee3425bfbd97887a39ec1d1.tar.xz
Rename gaps -> padding
Diffstat (limited to 'src/root.zig')
-rw-r--r--src/root.zig6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/root.zig b/src/root.zig
index 54cdbe5..3754b8b 100644
--- a/src/root.zig
+++ b/src/root.zig
@@ -37,8 +37,8 @@ pub const Root = struct {
/// Width of borders in pixels
border_width: u32,
- /// Width of inner gaps in pixels
- inner_gap_width: u32,
+ /// Amount of view padding in pixels
+ view_padding: u32,
/// Number of pending configures sent in the current transaction.
/// A value of 0 means there is no current transaction.
@@ -71,7 +71,7 @@ pub const Root = struct {
self.border_width = 4;
- self.inner_gap_width = 10;
+ self.view_padding = 10;
self.pending_configures = 0;