From 69a05d516bd0c7e369a0ba1fb78aac57a5ea26f2 Mon Sep 17 00:00:00 2001 From: Simeon Simeonov Date: Thu, 12 Mar 2020 12:30:51 +0100 Subject: Initial commit for the last i3lock commit at this time f3b061233e28ad0cf920c9421adc2459b6920812 --- randr.h | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 randr.h (limited to 'randr.h') diff --git a/randr.h b/randr.h new file mode 100644 index 0000000..510a7cb --- /dev/null +++ b/randr.h @@ -0,0 +1,17 @@ +#ifndef _XINERAMA_H +#define _XINERAMA_H + +typedef struct Rect { + int16_t x; + int16_t y; + uint16_t width; + uint16_t height; +} Rect; + +extern int xr_screens; +extern Rect *xr_resolutions; + +void randr_init(int *event_base, xcb_window_t root); +void randr_query(xcb_window_t root); + +#endif -- cgit v1.3