aboutsummaryrefslogtreecommitdiff
path: root/layer_surface.c
diff options
context:
space:
mode:
authorRiley Beckett <rbeckettvt@gmail.com>2025-10-23 23:53:07 -0400
committerRiley Beckett <rbeckettvt@gmail.com>2025-10-23 23:53:07 -0400
commitec67361bb19d4c43ca41df6a56beb5b29344bc6a (patch)
tree786ef12d4882884b9b8ef433f4d5616d44fa16b0 /layer_surface.c
parentb07d30e30de90f7cb17e7e91ed71ac5af9326722 (diff)
increase spacing for horizontal layout
Diffstat (limited to 'layer_surface.c')
-rw-r--r--layer_surface.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/layer_surface.c b/layer_surface.c
index bf17d45..bc3ef56 100644
--- a/layer_surface.c
+++ b/layer_surface.c
@@ -18,7 +18,7 @@ void create_surface(client_state* state) {
if (state->center) {
desired_width = MAX(state->required_width, min_width);
}
- if (state->lines > 0) {
+ if (state->lines) {
desired_height = (state->lines + 1) * state->line_height;
}