xcb_randr_set_monitor_example XCB RandR 1.5 API usage example Dependencies: XCB RandR module ECM (only for cmake build) Building with gcc without cmake: git clone https://github.com/ncPUMA/xcb_randr_set_monitor_example.git cd xcb_randr_set_monitor_example gcc main.c -o xcb_randr_set_monitor_example Run: ./xcb_randr_set_monitor_example