xcb_input_xi_ungrab_device(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

✨ NAME ✨

xcb_input_xi_ungrab_device β€” bestie, this is a request from the XCB Requests manual family πŸ’– (yeah the original leaves the one-liner blank, so we're keeping it mysterious, we're keeping it iconic πŸŽ€)


🌸 SYNOPSIS 🌸

First thing's first, you gotta pull in the header, no cap:

#include <xcb/xinput.h>

πŸ¦‹ Request function

xcb_void_cookie_t xcb_input_xi_ungrab_device(xcb_connection_t *conn,
       xcb_timestamp_t time, xcb_input_device_id_t deviceid);

πŸ’… REQUEST ARGUMENTS πŸ’…

  • conn β€” the XCB connection to X11. your lil phone line to the server, basically πŸ“ž
  • time β€” literally the original says TODO: NOT YET DOCUMENTED. so like… nobody wrote it up yet πŸ™ˆ not me pretending I know, because I do not πŸ’€
  • deviceid β€” same energy, the manpage says TODO: NOT YET DOCUMENTED. so that's all we've got, fr fr 🫢

🌈 DESCRIPTION 🌈

Okay so… there is genuinely nothing written here in the original. Empty. A whole vibe. We move. ✨


πŸ‘‘ RETURN VALUE πŸ‘‘

It hands you back an xcb_void_cookie_t πŸͺ and heads out.

Any errors (if there even are any) have to be handled in the event loop, bestie β€” that's just how it is.

But listen, if you'd rather handle errors directly with xcb_request_check instead, then you want xcb_input_xi_ungrab_device_checked πŸ’– and you should go read xcb-requests(3) for all the details.


πŸ’€ ERRORS πŸ’€

Good news, gorgeous: this request does never generate any errors. Slay. Zero drama. πŸŽ€


⭐ SEE ALSO ⭐

…nothing here either. The original just leaves it hanging. Iconic behaviour, honestly. πŸ¦‹


🌸 AUTHOR 🌸

Generated from xinput.xml. If you spot something wrong or wanna make it better, hit up xcb@lists.freedesktop.org β€” that's where corrections and improvements go 🫢


X Version 11 ✨ libxcb 1.17.0 ✨ and yes it's the xcb_input_xi_ungrab_device(3) page β€” that's the whole sign-off, mwah πŸ’‹ thank you for coming to my TED talk, go ungrab that device bestie πŸ’