xcb_shape_select_input(3)
π xcb_shape_select_input β the girlies' guide to libxcb π
okay so this is xcb_shape_select_input, and it lives in the XCB Requests manual, section 3 of your friendly neighbourhood Unix man pages. it's a request function, it's short, and honestly? it's giving "quiet luxury" because the original docs are like 80% TODO. we're gonna work with what we've got. no cap. β¨
πΈ NAME πΈ
xcb_shape_select_input β and that's it, bestie. that's the whole name line. the description after the dash is just... blank. an empty slot. a little void. π³οΈ we respect it anyway.
π¦ SYNOPSIS π¦
first things first, you gotta pull in the header:
#include <xcb/shape.h>
and then here's the request function, exactly as it is:
xcb_void_cookie_t xcb_shape_select_input(xcb_connection_t *conn,
xcb_window_t destination_window, uint8_t enable);
look at her. three args, one return type, zero drama. π
π REQUEST ARGUMENTS π
connβ yourxcb_connection_t *, aka your XCB connection to X11. this is the little thread that ties you to the server. you know her, you love her. π«Άdestination_windowβ anxcb_window_t. and here's the tea: the original manpage literally says "TODO: NOT YET DOCUMENTED." π so that's the whole story on this one, fr fr.enableβ auint8_t. and guess what, bestie? "TODO: NOT YET DOCUMENTED." again. iconic behaviour from the documentation team, truly. π
not me pointing out that two of the three arguments are undocumented. that's not a me problem, that's canon. i'm just the messenger. π
π DESCRIPTION π
okay so... the DESCRIPTION section is empty. nothing in it. not a single word. the vibe check came back and there was no vibe. π§
π₯ RETURN VALUE π₯
she returns an xcb_void_cookie_t. and because it's a void cookie, that means any errors have to be handled in the event loop β you don't get them handed to you right away, bestie. that's the whole deal with void cookies. π«
but listen, if you'd rather handle errors directly instead of waiting around in the event loop, you can use xcb_request_check β in that case you want the _checked version of this request: xcb_shape_select_input_checked. β¨
for the full deets on how all of that works, go read xcb-requests(3). it's the lore. π
π ERRORS π
good news, bestie: this request does never generate any errors. zero. none. not a single one. she is unproblematic, and honestly, we love that for her. π
β SEE ALSO β
...it's empty. there's nothing here. just vibes and silence. πΈ
π AUTHOR π
this page was generated from shape.xml. and if you spot something wrong or want to send corrections and improvements, hit up the XCB girlies at xcb@lists.freedesktop.org. they're taking notes, fr fr. π§
and that's the whole page, bestie!! this absolute masterpiece of documentation came to you courtesy of X Version 11 and libxcb 1.17.0, with the man page title xcb_shape_select_input(3) right there at the top and the bottom. slay, go write some X11 code, mwah π
β¨ππ¦πΈπ
π¦ 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