aboutsummaryrefslogtreecommitdiff
path: root/sway/tree
diff options
context:
space:
mode:
authoremersion <contact@emersion.fr>2018-11-24 08:59:01 +0100
committerGitHub <noreply@github.com>2018-11-24 08:59:01 +0100
commitd440468d2deb31d311564a5b796608136cf99e49 (patch)
tree01e58548cb5199ef8a682c8634655aeeef51d0b8 /sway/tree
parentd9ed1f080b23067db432b358a5d15b9c94d2c59d (diff)
parent7555c7efdce66c7de7a5320879c501e901a5aab7 (diff)
Merge pull request #3145 from fdlamotte/master
Adding commands for configuring titlebar borders and padding
Diffstat (limited to 'sway/tree')
-rw-r--r--sway/tree/container.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sway/tree/container.c b/sway/tree/container.c
index cf6f5b54..91e8dd7f 100644
--- a/sway/tree/container.c
+++ b/sway/tree/container.c
@@ -594,7 +594,7 @@ void container_update_representation(struct sway_container *con) {
}
size_t container_titlebar_height(void) {
- return config->font_height + TITLEBAR_V_PADDING * 2;
+ return config->font_height + config->titlebar_v_padding * 2;
}
void container_init_floating(struct sway_container *con) {