From e9bbe8178ab45cb9880c9b6b0324e9b4467f26d5 Mon Sep 17 00:00:00 2001 From: Federico Angelilli Date: Sat, 25 Nov 2023 18:42:33 +0100 Subject: Recalculate layouts only when needed --- src/state.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/state.h') 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); -- cgit v1.2.3