typedef struct xcb_present_generic_event_t { uint8_tresponse_type; uint8_textension; uint16_tsequence; uint32_tlength; uint16_tevtype; uint8_tpad0[2]; xcb_present_event_tevent; }xcb_present_generic_event_t; EVENT FIELDS response_type ...
[0] = XCB_STACK_MODE_ABOVE; xcb_configure_window(conn, win, XCB_CONFIG_WINDOW_STACK_MODE, values); /* Ensure that the window is created and set up before returning */ xcb_aux_sync(conn); return win; } /* * Repeatedly tries to grab pointer and keyboard (up to the specified number...
const static uint32_t values[] = { 200, 300 }; /* The connection c and the window win are supposed to be defined */ /* Resize the window to width = 10 and height = 20 */ xcb_configure_window (c, win, XCB_CONFIG_WINDOW_WIDTH | XCB_CONFIG_WINDOW_HEIGHT, values); We can al...