aboutsummaryrefslogtreecommitdiff
path: root/src/state.h
diff options
context:
space:
mode:
authorFederico Angelilli <code@fedang.net>2023-11-25 18:42:33 +0100
committerFederico Angelilli <code@fedang.net>2023-11-25 18:44:03 +0100
commite9bbe8178ab45cb9880c9b6b0324e9b4467f26d5 (patch)
tree62a9dc864731f22d3c89d3bd54036abb4661ef7c /src/state.h
parent14b4c8084c14ba7a6e34cafb6c9a22a330f57644 (diff)
Recalculate layouts only when needed
Diffstat (limited to 'src/state.h')
-rw-r--r--src/state.h2
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);