
xcb
2024年9月30日 · The X protocol C-language Binding (XCB) is a replacement for Xlib featuring a small footprint, latency hiding, direct access to the protocol, improved threading support, and extensibility. News April 2024: xcb-proto 1.17 and libxcb 1.17 were released.
XCB: XCB API - freedesktop.org
Functions: void xcb_char2b_next (xcb_char2b_iterator_t *i): xcb_generic_iterator_t : xcb_char2b_end (xcb_char2b_iterator_t i): void xcb_window_next (xcb_window ...
X Events - freedesktop.org
XCB_EVENT_MASK_LEAVE_WINDOW // notify us when the mouse pointer leaves any of our controlled windows. The structure to be checked for in our events loop is the same for these two events, and is the following: typedef struct { uint8_t response_type; /* The type of the event */ uint8_t detail; uint16_t sequence; xcb_timestamp_t time; /* Time, in ...
tutorial - freedesktop.org
2014年3月29日 · XCB ("X C Binding") is an low-level API for the X window server. XCB is an alternative to Xlib, which has been the standard C binding for the X Window System protocol for many years now. Xlib is an excellent piece of work, but there are applications for which it is not ideal, for example:
XCB: XCB Core API - freedesktop.org
2011年1月8日 · This function allows a "prefetch" of extension data into the extension cache. Invoking the function may cause a call to xcb_query_extension, but will not block waiting for the reply. xcb_get_extension_data will return the prefetched data after possibly blocking while it …
DevelopersGuide - freedesktop.org
2024年9月30日 · The structure of XCB is designed to be as simple as possible while making common usage convenient and reasonably efficient. XCB is designed to work transparently with POSIX Thread programs or single-threaded programs: on platforms where POSIX threads are unavailable, it will be compilable without.
XCB: Main Page - freedesktop.org
2011年1月8日 · XCB Documentation. Generated by 1.8.11 1.8.11
XCB Glx API
xcb_glx_vendor_private_data (const xcb_glx_vendor_private_request_t *R) int xcb_glx_vendor_private_data_length (const xcb_glx_vendor_private_request_t *R) xcb_generic_iterator_t xcb_glx_vendor_private_data_end (const xcb_glx_vendor_private_request_t *R) int xcb_glx_vendor_private_with_reply_sizeof (const …
basicwindowsanddrawing - freedesktop.org
After we got some basic information about our screen, we can create our first window. In the X Window System, a window is characterized by an Id. So, in XCB, a window is of type: typedef uint32_t xcb_window_t; We first ask for a new Id for our window, with this function: xcb_window_t xcb_generate_id (xcb_connection_t *connection);
XCB: XCB RandR API - freedesktop.org
Functions: void xcb_randr_mode_next (xcb_randr_mode_iterator_t *i): xcb_generic_iterator_t : xcb_randr_mode_end (xcb_randr_mode_iterator_t i): void xcb_randr_crtc ...