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
