Codebase list i3lock-color / run/7c05bf57-6502-4631-8b20-029fd08210c6/main randr.h
run/7c05bf57-6502-4631-8b20-029fd08210c6/main

Tree @run/7c05bf57-6502-4631-8b20-029fd08210c6/main (Download .tar.gz)

randr.h @run/7c05bf57-6502-4631-8b20-029fd08210c6/mainraw · 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