diff options
| author | Federico Angelilli <code@fedang.net> | 2023-11-25 18:42:33 +0100 |
|---|---|---|
| committer | Federico Angelilli <code@fedang.net> | 2023-11-25 18:44:03 +0100 |
| commit | e9bbe8178ab45cb9880c9b6b0324e9b4467f26d5 (patch) | |
| tree | 62a9dc864731f22d3c89d3bd54036abb4661ef7c /src/state.h | |
| parent | 14b4c8084c14ba7a6e34cafb6c9a22a330f57644 (diff) | |
Recalculate layouts only when needed
Diffstat (limited to 'src/state.h')
| -rw-r--r-- | src/state.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/state.h b/src/state.h index 329b6a3..a8bc0eb 100644 --- a/src/state.h +++ b/src/state.h @@ -19,7 +19,7 @@ State *state_create(Window *win, Drawable *draw); void state_add_button(State *state, Button *btn); -void state_redraw(State *state); +void state_redraw(State *state, bool changed_layout); void state_destroy(State *state); |
