aboutsummaryrefslogtreecommitdiff
path: root/layer_surface.c
diff options
context:
space:
mode:
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 bc3ef56..c1d7caa 100644
--- a/layer_surface.c
+++ b/layer_surface.c
@@ -16,7 +16,7 @@ void create_surface(client_state* state) {
uint32_t desired_width = 0;
uint32_t desired_height = state->line_height;
if (state->center) {
- desired_width = MAX(state->required_width, min_width);
+ desired_width = MAX(state->required_width, config.min_width);
}
if (state->lines) {
desired_height = (state->lines + 1) * state->line_height;