xcb_randr_get_panning(3)
β¨ NAME β¨
xcb_randr_get_panning β okay so bestie, the official name line here is literally just the function name and then a lil dash with absolutely nothing after it π. No description. Nothing. The manpage said "that's it, that's the name." So likeβ¦ we go in blind and we learn together, fr fr.
This is a page from libxcb, manual name xcb_randr_get_panning, section 3. Now let's get into it π«Ά
πΈ SYNOPSIS πΈ
First thing, you gotta pull in the header:
#include <xcb/randr.h>
π Request function
xcb_randr_get_panning_cookie_t
xcb_randr_get_panning(xcb_connection_t *conn,
xcb_randr_crtc_t crtc);
π Reply datastructure
Not me being obsessed with this struct, it's giving very structured, very organized:
typedef struct xcb_randr_get_panning_reply_t {
uint8_t response_type;
uint8_t status;
uint16_t sequence;
uint32_t length;
xcb_timestamp_t timestamp;
uint16_t left;
uint16_t top;
uint16_t width;
uint16_t height;
uint16_t track_left;
uint16_t track_top;
uint16_t track_width;
uint16_t track_height;
int16_t border_left;
int16_t border_top;
int16_t border_right;
int16_t border_bottom;
} xcb_randr_get_panning_reply_t;
π¦ Reply function
xcb_randr_get_panning_reply_t
*xcb_randr_get_panning_reply(xcb_connection_t *conn,
xcb_randr_get_panning_cookie_t cookie, xcb_generic_error_t **e);
β REQUEST ARGUMENTS β
connβ the XCB connection to X11. Your lil hotline to the server, no cap.crtcβ TODO: NOT YET DOCUMENTED. Yeah bestie, the docs literally said "we'll finish this later" and never came back π. It's anxcb_randr_crtc_t, that's what we know, and we move on.
π REPLY FIELDS π
response_typeβ the type of this reply. In this case it'sXCB_RANDR_GET_PANNING. This field is also present in thexcb_generic_reply_t, so you can use it to tell replies apart from each other. It's the name tag at the party πsequenceβ the sequence number of the last request processed by the X11 server.lengthβ the length of the reply, in words. And reminder: a word is 4 bytes. Words are 4 bytes here, not vibes.statusβ TODO: NOT YET DOCUMENTED. πtimestampβ TODO: NOT YET DOCUMENTED. πleftβ TODO: NOT YET DOCUMENTED. πtopβ TODO: NOT YET DOCUMENTED. πwidthβ TODO: NOT YET DOCUMENTED. πheightβ TODO: NOT YET DOCUMENTED. πtrack_leftβ TODO: NOT YET DOCUMENTED. πtrack_topβ TODO: NOT YET DOCUMENTED. πtrack_widthβ TODO: NOT YET DOCUMENTED. πtrack_heightβ TODO: NOT YET DOCUMENTED. πborder_leftβ TODO: NOT YET DOCUMENTED. πborder_topβ TODO: NOT YET DOCUMENTED. πborder_rightβ TODO: NOT YET DOCUMENTED. πborder_bottomβ TODO: NOT YET DOCUMENTED. π
Not the whole field list being a TODO π. It's giving "work in progress" main character energy. But like β that's genuinely what the page says, so that's what we're reporting. No inventing, no guessing, periodt.
π DESCRIPTION π
Soβ¦ the DESCRIPTION section? Completely empty. Not one word. A true minimalist queen, she said nothing and left π β¨
π RETURN VALUE π
Returns an xcb_randr_get_panning_cookie_t. Yes, a cookie πͺ β it's your lil claim ticket for the reply.
Errors have to be handled when calling the reply function xcb_randr_get_panning_reply.
If you'd rather handle errors in the event loop instead, use xcb_randr_get_panning_unchecked. See xcb-requests(3) for details β that's your homework, bestie, go read it π«Ά
π ERRORS π
This request does never generate any errors. Not one. Zero. Flawless, unbothered, no drama. Iconic behavior, honestly π
π§ SEE ALSO π§
Yeah soβ¦ this section is empty too. Nothing listed. The page simply had no friends to introduce you to at the party π
π AUTHOR π
Generated from randr.xml. Contact xcb@lists.freedesktop.org for corrections and improvements β so if you spot something off, that's the address, slide into those inboxes politely π
And that's the whole page! Some parts were empty, some were TODO, and we kept all of it exactly as it was β nothing added, nothing skipped, no cap.
Signing off with the receipts: this was X Version 11, libxcb 1.17.0, the page xcb_randr_get_panning(3). Stay hydrated, read your manpages, and slay πβ¨ππ¦πΈπ
π¦ where this page comes from
- alpine 3.22: libxcb-doc 1.17.0-r0 Β· MIT
- alpine 3.23: libxcb-doc 1.17.0-r1 Β· MIT
- alpine 3.24: libxcb-doc 1.17.0-r2 Β· MIT
- arch rolling: libxcb 1.17.0-1 Β· X11
- centos-stream 10: libxcb-devel 1.17.0-3.el10 Β· X11
- debian trixie: libxcb-doc 1.17.0-2
- fedora 43: libxcb-devel 1.17.0-6.fc43 Β· X11
- fedora 43: libxcb-devel 1.17.0-6.fc43 Β· X11
- fedora 44: libxcb-devel 1.17.0-7.fc44 Β· X11
- fedora 44: libxcb-devel 1.17.0-7.fc44 Β· X11
- nixpkgs unstable: libxcb 1.17.0
- opensuse-leap 16.0: libxcb-devel-doc 1.17.0-160000.2.2 Β· MIT
- ubuntu questing: libxcb-doc 1.17.0-2build1
- ubuntu resolute: libxcb-doc 1.17.0-2ubuntu1
- ubuntu stonking: libxcb-doc 1.17.0-2ubuntu1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms