From 7555c7efdce66c7de7a5320879c501e901a5aab7 Mon Sep 17 00:00:00 2001 From: Florent de Lamotte Date: Sat, 17 Nov 2018 20:06:48 +0100 Subject: Adding commands for configuring titlebar borders and padding --- sway/tree/container.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sway/tree/container.c') 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) { -- cgit v1.2.3-54-g00ecf