Codebase list i3lock-color / acea9535-25e9-4a1f-b3d4-996449e33efa/upstream randr.h
acea9535-25e9-4a1f-b3d4-996449e33efa/upstream

Tree @acea9535-25e9-4a1f-b3d4-996449e33efa/upstream (Download .tar.gz)

randr.h @acea9535-25e9-4a1f-b3d4-996449e33efa/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