Codebase list i3lock-color / b2c50453-67b5-4b94-b3e4-67eeb36dc030/upstream randr.h
b2c50453-67b5-4b94-b3e4-67eeb36dc030/upstream

Tree @b2c50453-67b5-4b94-b3e4-67eeb36dc030/upstream (Download .tar.gz)

randr.h @b2c50453-67b5-4b94-b3e4-67eeb36dc030/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