aboutsummaryrefslogtreecommitdiff
path: root/src/state.h
diff options
context:
space:
mode:
authorFederico Angelilli <code@fedang.net>2024-03-13 23:19:32 +0100
committerFederico Angelilli <code@fedang.net>2024-03-13 23:19:32 +0100
commitcbe94d7c42422856275ad41332cbc980054d6bee (patch)
tree08564115751ff681615988bfab5750db95acc43c /src/state.h
parent4df262ade044448f83092ab157a15b4a3f170eec (diff)
Start refactoring state and draw
Diffstat (limited to 'src/state.h')
-rw-r--r--src/state.h5
1 files changed, 3 insertions, 2 deletions
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);