diff options
| author | Federico Angelilli <code@fedang.net> | 2024-05-14 10:54:47 +0200 |
|---|---|---|
| committer | Federico Angelilli <code@fedang.net> | 2024-05-14 10:54:47 +0200 |
| commit | 247a74810374894a74ca63af4eb86d9614cf6c74 (patch) | |
| tree | 52f85875ab4aa0ca64112d86a151ba0cc44a4d5b /src/state.h | |
| parent | 3768820fb27ff394114a17f6612417bcc78689a0 (diff) | |
Implement multiple windows
Diffstat (limited to 'src/state.h')
| -rw-r--r-- | src/state.h | 5 |
1 files changed, 4 insertions, 1 deletions
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); |
