xcb_shape_offset(3)

πŸ“¦
version 1.17.0 Β· 4 versions
, in alpine 3.22, alpine 3.23, alpine 3.24, arch rolling, centos-stream 10, debian trixie, fedora 43, fedora 44, nixpkgs unstable, opensuse-leap 16.0, ubuntu questing, ubuntu resolute, ubuntu stonking

πŸ’– xcb_shape_offset β€” the XCB request that slides your shape around πŸ’…

okay bestie, gather round, because this one is from XCB Requests, aka the xcb_shape_offset(3) page, and it is short. like, suspiciously short. but we're gonna cover every crumb of it anyway because that's the vibe. πŸŽ€


✨ NAME ✨

xcb_shape_offset β€” literally just the name, the description slot is empty, that's not me being lazy, that's the manpage being mysterious πŸ¦‹


✨ SYNOPSIS ✨

first, you gotta let the compiler know where this lives:

#include <xcb/shape.h>

🌸 Request function 🌸

here's the whole entire function signature, no cap, copy it exactly:

xcb_void_cookie_t xcb_shape_offset(xcb_connection_t *conn,
       xcb_shape_kind_t destination_kind,
       xcb_window_t destination_window, int16_t x_offset,
       int16_t y_offset);

look at her. she's an xcb_void_cookie_t. she returns nothing but a cookie and a dream. πŸ’œ


✨ REQUEST ARGUMENTS ✨

here's every single argument, and I need you to brace yourself because the docs are... going through something:

  • conn β€” the XCB connection to X11. your lil hotline to the server. 🌈
  • destination_kind β€” TODO: NOT YET DOCUMENTED. yeah. that's it. that's the documentation. we move. πŸ™ˆ
  • destination_window β€” TODO: NOT YET DOCUMENTED. same energy. iconic honestly. 😭
  • x_offset β€” TODO: NOT YET DOCUMENTED. no notes. πŸ’€
  • y_offset β€” TODO: NOT YET DOCUMENTED. and that's the last one. slay. ✨
fr fr bestie, I'm not hiding anything from you β€” the original page really does say TODO: NOT YET DOCUMENTED. for all four of those. I would never gatekeep. 🫢

✨ DESCRIPTION ✨

there is no description. the section exists. it is empty. it's giving minimalism. it's giving the void stared back. πŸ’€

like, the heading DESCRIPTION shows up and then nothing follows it. no prose, no lore, no backstory. just vibes and silence. 🌸


✨ RETURN VALUE ✨

okay here's actual info, pay attention bestie:

Returns an xcb_void_cookie_t. Errors (if any) have to be handled in the event loop.

and if you're the kind of main character who wants to handle errors directly with xcb_request_check instead, then use xcb_shape_offset_checked. πŸ’…

see xcb-requests(3) for details. πŸŽ€


✨ ERRORS ✨

good news, queen: this request does never generate any errors. not one. zero. none. flawless behaviour, no drama. πŸ‘‘


✨ SEE ALSO ✨

bestie... there's nothing here either. the SEE ALSO section is just a heading with nothing under it. no cross-references, no friends, no mutuals. she stands alone. πŸ¦‹


✨ AUTHOR ✨

Generated from shape.xml. Contact xcb@lists.freedesktop.org for corrections and improvements. 🌈


and that's the whole page!! we got through it together, I'm so proud of you.

this was page xcb_shape_offset(3) from X Version 11, shipped with libxcb 1.17.0. mwah. take care of her. πŸ’–βœ¨πŸŽ€πŸ¦‹πŸŒΈπŸ’…πŸ«ΆπŸ‘‘