aboutsummaryrefslogtreecommitdiff
path: root/src/connect.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/connect.h')
-rw-r--r--src/connect.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/connect.h b/src/connect.h
index 2428819..dbb650c 100644
--- a/src/connect.h
+++ b/src/connect.h
@@ -26,14 +26,14 @@ struct Connection {
xcb_errors_context_t *errors;
xcb_ewmh_connection_t ewmh;
GSource *source;
- State *state;
+ GList *states;
};
Connection *connect_create();
void connect_attach_source(Connection *con);
-void connect_attach_state(Connection *con, State *state);
+void connect_add_state(Connection *con, State *state);
void connect_destroy(Connection *con);