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/connect.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/connect.h') 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); -- cgit v1.2.3