aboutsummaryrefslogtreecommitdiff
path: root/src/comet.c
diff options
context:
space:
mode:
authorFederico Angelilli <code@fedang.net>2023-11-19 00:00:44 +0100
committerFederico Angelilli <code@fedang.net>2023-11-19 00:00:44 +0100
commit6dd4c979c40804756ef4d3ca5ac34671c3bcc7e2 (patch)
treedf72dcbcb435f618c109928e88fc36d887e5f220 /src/comet.c
parentbab8d5a6c2c6d56a97802bd23b2f5e03f0bec417 (diff)
Compute the layout for the buttons
Diffstat (limited to 'src/comet.c')
-rw-r--r--src/comet.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/comet.c b/src/comet.c
index df5ffe4..21bad7a 100644
--- a/src/comet.c
+++ b/src/comet.c
@@ -71,7 +71,7 @@ int main(int argc, char **argv)
Button *btn = button_create("long button", false);
state_add_button(state, btn);
- draw_set_buttons(draw, state->btns);
+ draw_compute_layout(draw, state->btns, window_get_context(win));
connect_attach_state(con, state);
connect_attach_source(con);