summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/blueshift_randr.c19
1 files changed, 19 insertions, 0 deletions
diff --git a/src/blueshift_randr.c b/src/blueshift_randr.c
index 635c44f..1c78d72 100644
--- a/src/blueshift_randr.c
+++ b/src/blueshift_randr.c
@@ -74,10 +74,29 @@ typedef struct blueshift_randr_crtc
+/**
+ * Connection to the X server
+ */
static xcb_connection_t* connection;
+
+/**
+ * Used to store errors in
+ */
static xcb_generic_error_t* error;
+
+/**
+ * Screen resources
+ */
static xcb_randr_get_screen_resources_current_reply_t* res_reply;
+
+/**
+ * The first CRTC
+ */
static blueshift_randr_crtc_t* crtcs;
+
+/**
+ * The CRTC after the last CRTC
+ */
static blueshift_randr_crtc_t* crtcs_end;