From 247a74810374894a74ca63af4eb86d9614cf6c74 Mon Sep 17 00:00:00 2001 From: Federico Angelilli Date: Tue, 14 May 2024 10:54:47 +0200 Subject: Implement multiple windows --- src/state.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/state.h') diff --git a/src/state.h b/src/state.h index ef621f4..32d3ada 100644 --- a/src/state.h +++ b/src/state.h @@ -10,6 +10,7 @@ typedef struct State State; struct State { + const char *label; Window *win; Drawer *draw; GList *btns; @@ -18,7 +19,9 @@ struct State { bool relayout; }; -State *state_create(Window *win, Drawer *draw); +State *state_create(const char *label, Window *win, Drawer *draw); + +State *state_create_copy(const char *label, State *target); void state_add_button(State *state, Button *btn); -- cgit v1.2.3