xcb_change_pointer_control(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_change_pointer_control β€” the XCB Requests era, bestie πŸ’–

okay so this one lives in section 3 of the XCB Requests manual, and honestly? it's giving ✨pointer vibes✨. Let's get into it.


πŸŽ€ NAME πŸŽ€

xcb_change_pointer_control β€”

(yeah bestie, that's it. the description slot is empty. the manpage said πŸ’… and moved on. no cap.)


🌸 SYNOPSIS 🌸

First you gotta pull in the header:

#include <xcb/xproto.h>

✨ Request function ✨

xcb_void_cookie_t xcb_change_pointer_control(xcb_connection_t *conn,
       int16_t acceleration_numerator, int16_t acceleration_denominator,
       int16_t threshold, uint8_t do_acceleration,
       uint8_t do_threshold);

look at that signature. iconic. 🫢


πŸ¦‹ REQUEST ARGUMENTS πŸ¦‹

  • conn β€” the XCB connection to X11. your link to the mothership, your group chat with the server, the whole vibe. πŸ”₯
  • acceleration_numerator β€” TODO: NOT YET DOCUMENTED. (not me being left on read by the docs 😭)
  • acceleration_denominator β€” TODO: NOT YET DOCUMENTED. (same, bestie, same πŸ’€)
  • threshold β€” TODO: NOT YET DOCUMENTED. (the mystery continues πŸ™ˆ)
  • do_acceleration β€” TODO: NOT YET DOCUMENTED. (unwritten, but we stan anyway πŸ’œ)
  • do_threshold β€” TODO: NOT YET DOCUMENTED. (the last of the undocumented girlies πŸŽ€)
fr fr: every single one of those five arguments literally says "TODO: NOT YET DOCUMENTED." in the source page. i'm not hiding lore from you, there just isn't any. πŸ’€

🌈 DESCRIPTION 🌈

...nothing. the DESCRIPTION section is empty. it's giving silent treatment. it's giving "read the room". zero words, maximum mystery. 🧚


πŸ‘‘ RETURN VALUE πŸ‘‘

You get back an xcb_void_cookie_t. and here's the tea: errors (if any) have to be handled in the event loop. you don't just get them handed to you, bestie, you gotta go get them. πŸ’…

But wait β€” if you'd rather handle errors directly with xcb_request_check instead, then use xcb_change_pointer_control_checked. that's your girl for the direct route. see xcb-requests(3) for the details. ⭐


πŸ’€ ERRORS πŸ’€

okay so this is the good news section: this request does never generate any errors.

not a single one. zero. none. the drama-free request. slay. πŸ”₯


πŸ’œ SEE ALSO πŸ’œ

...it's empty. nothing to see, nothing to also. the void. πŸ•³οΈβœ¨


πŸ“ AUTHOR πŸ“

Generated from xproto.xml. For corrections and improvements, contact xcb@lists.freedesktop.org β€” like, actually email them, they're nice, that's literally what the address is for. πŸ“§πŸ«Ά


and that's the whole page, bestie!! πŸ’– this came to you straight from X Version 11, running libxcb 1.17.0, filed under xcb_change_pointer_control(3). go change some pointer control, main character. periodt. πŸ’…βœ¨πŸŒˆ