aboutsummaryrefslogtreecommitdiff
path: root/src/connect.h
diff options
context:
space:
mode:
authorFederico Angelilli <code@fedang.net>2024-07-08 15:22:41 +0200
committerFederico Angelilli <code@fedang.net>2024-07-08 15:22:41 +0200
commit5d170a634ead0119f6e5a9f63c23b2b064126f75 (patch)
tree0447d2dbb0da6358d184a4c62d5557d4d22f5e8d /src/connect.h
parent92feb3c130966202c7caa6d9bf3a3800c97ca7a1 (diff)
Remove old files
Diffstat (limited to 'src/connect.h')
-rw-r--r--src/connect.h42
1 files changed, 0 insertions, 42 deletions
diff --git a/src/connect.h b/src/connect.h
deleted file mode 100644
index dbb650c..0000000
--- a/src/connect.h
+++ /dev/null
@@ -1,42 +0,0 @@
-#ifndef COMET_CONNEC_H
-#define COMET_CONNEC_H
-
-#include <glib.h>
-#include <xcb/xcb.h>
-#include <xcb/xcb_ewmh.h>
-#include <xcb/xcb_xrm.h>
-#include <xcb/xcb_errors.h>
-#include <xcb/randr.h>
-
-// Forward declaration
-typedef struct State State;
-
-typedef struct Connection Connection;
-
-// TODO: Make this opaque
-struct Connection {
- xcb_connection_t *connection;
- xcb_screen_t *screen;
- xcb_randr_get_screen_info_reply_t *info_reply;
- xcb_randr_screen_size_t *screen_size;
- double screen_dpi;
- int screen_depth;
- xcb_visualtype_t *visual_type;
- xcb_xrm_database_t *database;
- xcb_errors_context_t *errors;
- xcb_ewmh_connection_t ewmh;
- GSource *source;
- GList *states;
-};
-
-Connection *connect_create();
-
-void connect_attach_source(Connection *con);
-
-void connect_add_state(Connection *con, State *state);
-
-void connect_destroy(Connection *con);
-
-#endif
-
-// vim: ts=4 sw=4 et