aboutsummaryrefslogtreecommitdiff
path: root/src/state.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/state.h')
-rw-r--r--src/state.h5
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);