xcb_randr_set_panning(3)
π xcb_randr_set_panning π
okay bestie, we're doing an XCB request today β it's xcb_randr_set_panning from the <xcb/randr.h> era, part of XCB Requests. this one lives in libxcb and it's giving "pan the screen around like a lil camera viewport" energy. strap in, we're going through literally every single field π«Ά
β¨ NAME β¨
xcb_randr_set_panning β no description given in the original, bestie. that's it. that's the name. iconic minimalism π
β¨ SYNOPSIS β¨
first up, the include. don't forget her:
#include <xcb/randr.h>
πΈ Request function πΈ
xcb_randr_set_panning_cookie_t
xcb_randr_set_panning(xcb_connection_t *conn,
xcb_randr_crtc_t crtc, 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);
look at that argument list. it's LONG long. she's not like other requests π
π Reply datastructure π
typedef struct xcb_randr_set_panning_reply_t {
uint8_t response_type;
uint8_t status;
uint16_t sequence;
uint32_t length;
xcb_timestamp_t timestamp;
} xcb_randr_set_panning_reply_t;
π¦ Reply function π¦
xcb_randr_set_panning_reply_t
*xcb_randr_set_panning_reply(xcb_connection_t *conn,
xcb_randr_set_panning_cookie_t cookie, xcb_generic_error_t **e);
β¨ REQUEST ARGUMENTS β¨
connβ the XCB connection to X11. your lil red string telephone to the server, fr fr.crtcβ TODO: NOT YET DOCUMENTED. bestie the docs just did not show up for work today π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 me listing fifteen args and fourteen of them are TODO: NOT YET DOCUMENTED π we stay humble. we stay mysterious. slay.
β¨ REPLY FIELDS β¨
response_typeβ the type of this reply, in this caseXCB_RANDR_SET_PANNING. this field is also present in thexcb_generic_reply_tand can be used to tell replies apart from each other. she's the name tag at the party πsequenceβ the sequence number of the last request processed by the X11 server. your receipt number basically π§Ύlengthβ the length of the reply, in words (a word is 4 bytes). yes bestie, words. not bytes. four bytes each. keep up πstatusβ TODO: NOT YET DOCUMENTED.timestampβ TODO: NOT YET DOCUMENTED.
β¨ DESCRIPTION β¨
there is no description here. the section exists, it's just... empty. a vibe. a moment of silence π―οΈ
β¨ RETURN VALUE β¨
returns an xcb_randr_set_panning_cookie_t. πͺ
errors have to be handled when calling the reply function xcb_randr_set_panning_reply.
if you want to handle errors in the event loop instead, use xcb_randr_set_panning_unchecked. see xcb-requests(3) for details. pick your fighter, bestie π
β¨ ERRORS β¨
this request does never generate any errors.
no cap. zero errors. she's a good girl. β¨ (which is also why the whole cookie/reply dance still wants you to pass a pointer for errors β the xcb_generic_error_t **e β even though this one's out here never generating any. we love a consistent API π)
β¨ SEE ALSO β¨
nothing listed in the original here β it's an empty section, so consider this your little moment of calm before the credits. πΈ
β¨ AUTHOR β¨
generated from randr.xml. contact xcb@lists.freedesktop.org for corrections and improvements. go off, xml generator, you did that π
okay that's the whole page bestie, every flag, every field, every TODO: NOT YET DOCUMENTED, nothing skipped, we ate and left no crumbs π
mwah π this was X Version 11, libxcb 1.17.0, xcb_randr_set_panning(3) β signing off, love u, bye πβ¨
π¦ 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