diff options
| author | Jack Jamison <jackqjamison@gmail.com> | 2025-11-04 17:29:52 -0500 |
|---|---|---|
| committer | Jack Jamison <jackqjamison@gmail.com> | 2025-11-06 19:45:03 -0500 |
| commit | 95fb3cad63941466e913775a3c080b310d45d13a (patch) | |
| tree | 555cbaf4d5fd7454efbe6ab200e268c04b53ed49 /layer_surface.c | |
| parent | 38d43004656a2d00960484e5e5a5ece46bde840b (diff) | |
refactor onfig file and delete word backward
Diffstat (limited to 'layer_surface.c')
| -rw-r--r-- | layer_surface.c | 2 |
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; |
