#include <xcb/xcb.h>
#include <xcb/xcb_aux.h>
#include <xcb/randr.h>
#include <stdlib.h>
int main()
{
int screen = 0;
xcb_connection_t* c = xcb_connect(getenv("DISPLAY"), &screen);
xcb_screen_t* root = xcb_aux_get_screen(c, screen);
xcb_randr_get_screen_info_reply(c, xcb_randr_get_screen_info(c, root->root), 0);
}