summaryrefslogtreecommitdiffstats
path: root/src/blueshift_randr.c
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2014-02-15 22:38:40 +0100
committerMattias Andrée <maandree@operamail.com>2014-02-15 22:38:40 +0100
commit5002f9b9e966ddc74b016bb652649cd6be1f656b (patch)
tree08ded158b9e916c16bfab312e2d614ba6ae15dc8 /src/blueshift_randr.c
parentfix scopes (diff)
downloadblueshift-5002f9b9e966ddc74b016bb652649cd6be1f656b.tar.gz
blueshift-5002f9b9e966ddc74b016bb652649cd6be1f656b.tar.bz2
blueshift-5002f9b9e966ddc74b016bb652649cd6be1f656b.tar.xz
doc
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to 'src/blueshift_randr.c')
-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;