From 1228252e6bc4f18664725d60413896e6d9d9a6c5 Mon Sep 17 00:00:00 2001 From: Jack Jamison Date: Fri, 17 Oct 2025 19:11:11 -0400 Subject: basic option text layout --- layer_surface.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'layer_surface.c') diff --git a/layer_surface.c b/layer_surface.c index 017ac8a..fc0a7e2 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->lines > 0) { - desired_width = 600; // figure out later + desired_width = 600; // calculate based on width of option strings desired_height = (state->lines + 1) * state->line_height; } -- cgit v1.2.3