From 66bd7af3e59e509000b8a55a9429e7a8e133fd81 Mon Sep 17 00:00:00 2001 From: Simeon Simeonov Date: Tue, 14 Mar 2023 23:30:32 +0100 Subject: Sync with upstream 2.14.1 and update the documentation --- include/randr.h | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 include/randr.h (limited to 'include/randr.h') diff --git a/include/randr.h b/include/randr.h new file mode 100644 index 0000000..510a7cb --- /dev/null +++ b/include/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