summaryrefslogtreecommitdiff
path: root/randr.h
diff options
context:
space:
mode:
authorSimeon Simeonov2020-03-12 12:30:51 +0100
committerSimeon Simeonov2020-03-12 12:30:51 +0100
commit69a05d516bd0c7e369a0ba1fb78aac57a5ea26f2 (patch)
tree87e37110ea0e328533a41c3b16b64036ff132641 /randr.h
Initial commit for the last i3lock commit at this time f3b061233e28ad0cf920c9421adc2459b6920812
Diffstat (limited to 'randr.h')
-rw-r--r--randr.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/randr.h b/randr.h
new file mode 100644
index 0000000..510a7cb
--- /dev/null
+++ b/randr.h
@@ -0,0 +1,17 @@
1#ifndef _XINERAMA_H
2#define _XINERAMA_H
3
4typedef struct Rect {
5 int16_t x;
6 int16_t y;
7 uint16_t width;
8 uint16_t height;
9} Rect;
10
11extern int xr_screens;
12extern Rect *xr_resolutions;
13
14void randr_init(int *event_base, xcb_window_t root);
15void randr_query(xcb_window_t root);
16
17#endif