From cbe94d7c42422856275ad41332cbc980054d6bee Mon Sep 17 00:00:00 2001 From: Federico Angelilli Date: Wed, 13 Mar 2024 23:19:32 +0100 Subject: Start refactoring state and draw --- src/state.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/state.h') diff --git a/src/state.h b/src/state.h index 9ce4cc9..14f7d4d 100644 --- a/src/state.h +++ b/src/state.h @@ -11,12 +11,13 @@ typedef struct State State; struct State { Window *win; - Drawable *draw; + Drawer *draw; GList *btns; gint id; + bool relayout; }; -State *state_create(Window *win, Drawable *draw); +State *state_create(Window *win, Drawer *draw); void state_add_button(State *state, Button *btn); -- cgit v1.2.3