aboutsummaryrefslogtreecommitdiff
path: root/src/connect.h
diff options
context:
space:
mode:
authorFederico Angelilli <code@fedang.net>2024-05-14 10:54:47 +0200
committerFederico Angelilli <code@fedang.net>2024-05-14 10:54:47 +0200
commit247a74810374894a74ca63af4eb86d9614cf6c74 (patch)
tree52f85875ab4aa0ca64112d86a151ba0cc44a4d5b /src/connect.h
parent3768820fb27ff394114a17f6612417bcc78689a0 (diff)
Implement multiple windows
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);