Codebase list i3lock-color / 5be7af97-578a-4c14-928b-1118b4fc5b1e/upstream randr.h
5be7af97-578a-4c14-928b-1118b4fc5b1e/upstream

Tree @5be7af97-578a-4c14-928b-1118b4fc5b1e/upstream (Download .tar.gz)

randr.h @5be7af97-578a-4c14-928b-1118b4fc5b1e/upstreamraw · history · blame

#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