diff options
| author | Simeon Simeonov | 2023-03-14 23:30:32 +0100 |
|---|---|---|
| committer | Simeon Simeonov | 2023-03-18 13:37:27 +0100 |
| commit | 66bd7af3e59e509000b8a55a9429e7a8e133fd81 (patch) | |
| tree | 9eca5fe6eb76bb639fde682131c654eef17212df /include/randr.h | |
| parent | ffc15cad8238b101203147d4c9da64ee8e5a05b8 (diff) | |
Sync with upstream 2.14.1 and update the documentation2.2.14
Diffstat (limited to 'include/randr.h')
| -rw-r--r-- | include/randr.h | 17 |
1 files changed, 17 insertions, 0 deletions
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 @@ | |||
| 1 | #ifndef _XINERAMA_H | ||
| 2 | #define _XINERAMA_H | ||
| 3 | |||
| 4 | typedef struct Rect { | ||
| 5 | int16_t x; | ||
| 6 | int16_t y; | ||
| 7 | uint16_t width; | ||
| 8 | uint16_t height; | ||
| 9 | } Rect; | ||
| 10 | |||
| 11 | extern int xr_screens; | ||
| 12 | extern Rect *xr_resolutions; | ||
| 13 | |||
| 14 | void randr_init(int *event_base, xcb_window_t root); | ||
| 15 | void randr_query(xcb_window_t root); | ||
| 16 | |||
| 17 | #endif | ||
