Codebase list i3lock-color / c2d14dad-5b64-420c-8c7f-37c49eb9b803/upstream/2.13.c.4+git20220826.1.aeb9982 randr.h
c2d14dad-5b64-420c-8c7f-37c49eb9b803/upstream/2.13.c.4+git20220826.1.aeb9982

Tree @c2d14dad-5b64-420c-8c7f-37c49eb9b803/upstream/2.13.c.4+git20220826.1.aeb9982 (Download .tar.gz)

randr.h @c2d14dad-5b64-420c-8c7f-37c49eb9b803/upstream/2.13.c.4+git20220826.1.aeb9982raw · 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