diff options
| author | Federico Angelilli <code@fedang.net> | 2023-11-19 00:00:44 +0100 |
|---|---|---|
| committer | Federico Angelilli <code@fedang.net> | 2023-11-19 00:00:44 +0100 |
| commit | 6dd4c979c40804756ef4d3ca5ac34671c3bcc7e2 (patch) | |
| tree | df72dcbcb435f618c109928e88fc36d887e5f220 /src/comet.c | |
| parent | bab8d5a6c2c6d56a97802bd23b2f5e03f0bec417 (diff) | |
Compute the layout for the buttons
Diffstat (limited to 'src/comet.c')
| -rw-r--r-- | src/comet.c | 2 |
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); |
