diff options
author | Florent de Lamotte <florent.lamotte@gmail.com> | 2018-11-17 20:06:48 +0100 |
---|---|---|
committer | Florent de Lamotte <florent.lamotte@gmail.com> | 2018-11-22 10:30:04 +0100 |
commit | 7555c7efdce66c7de7a5320879c501e901a5aab7 (patch) | |
tree | d9acff5cb9d0a5e420067602aca11f79fc1aabb7 /sway/tree/container.c | |
parent | Merge pull request #3158 from emersion/get-outputs-focused (diff) | |
download | sway-7555c7efdce66c7de7a5320879c501e901a5aab7.tar.gz sway-7555c7efdce66c7de7a5320879c501e901a5aab7.tar.zst sway-7555c7efdce66c7de7a5320879c501e901a5aab7.zip |
Adding commands for configuring titlebar borders and padding
Diffstat (limited to 'sway/tree/container.c')
-rw-r--r-- | sway/tree/container.c | 2 |
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) { | |||
594 | } | 594 | } |
595 | 595 | ||
596 | size_t container_titlebar_height(void) { | 596 | size_t container_titlebar_height(void) { |
597 | return config->font_height + TITLEBAR_V_PADDING * 2; | 597 | return config->font_height + config->titlebar_v_padding * 2; |
598 | } | 598 | } |
599 | 599 | ||
600 | void container_init_floating(struct sway_container *con) { | 600 | void container_init_floating(struct sway_container *con) { |