xcb_screensaver_select_input(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_screensaver_select_input ✨

okay bestie, welcome to the xcb_screensaver_select_input(3) page, straight out of the XCB Requests chapter of your friendly neighbourhood manual πŸ’… this one lives in libxcb and it's giving "let me tell the screensaver what input events I care about" energy.


🌸 NAME 🌸

xcb_screensaver_select_input β€” that's it, that's the whole name, the original didn't elaborate 🫢 (no cap, the NAME section is literally just the name and a dash, so we move.)


πŸ¦‹ SYNOPSIS πŸ¦‹

First, bestie, you gotta bring in the header:

#include <xcb/screensaver.h>

πŸŽ€ Request function πŸŽ€

xcb_void_cookie_t xcb_screensaver_select_input(xcb_connection_t *conn,
       xcb_drawable_t drawable, uint32_t event_mask);

πŸ‘‘ REQUEST ARGUMENTS πŸ‘‘

  • conn β€” your XCB connection to X11, aka the lil phone line between you and the X server πŸ’œ
  • drawable β€” TODO: NOT YET DOCUMENTED. yeah… the docs really left us on read for this one 😭
  • event_mask β€” TODO: NOT YET DOCUMENTED. same vibe, same silence πŸ™ˆ

🌈 DESCRIPTION 🌈

…and that's it. The DESCRIPTION section is empty. Iconic of it honestly, it said nothing and left. ✨


πŸ’– RETURN VALUE πŸ’–

It hands you back an xcb_void_cookie_t. Any errors (if there even are any) have to be handled over in the event loop, bestie β€” that's just how the cookie crumbles πŸ“

If you'd rather deal with errors directly using xcb_request_check, then you want xcb_screensaver_select_input_checked instead. Peep xcb-requests(3) for the deets πŸ‘€


πŸ’€ ERRORS πŸ’€

This request does never generate any errors.

fr fr, zero drama, zero errors, it simply behaves 😌


🧚 SEE ALSO 🧚

…nothing here. The SEE ALSO section is empty. It's giving minimalist. It's giving "no thoughts, head empty" πŸ’…


⭐ AUTHOR ⭐

Generated from screensaver.xml. Wanna send corrections or improvements? Slide into xcb@lists.freedesktop.org πŸ“§


okay that's the whole page, you ate that 🫢 this was brought to you by the X Version 11 girlies, running libxcb 1.17.0 β€” mwah, take care of your screensaver, bye bestie πŸ‘‘βœ¨πŸ’œ