xcb_dpms_force_level(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_dpms_force_level β€” bestie, it's a request function and the manpage literally leaves the one-liner blank, so we're vibing with the void here 🫢


🌸 SYNOPSIS 🌸

#include <xcb/dpms.h>

πŸŽ€ Request function

xcb_void_cookie_t xcb_dpms_force_level(xcb_connection_t *conn,
       uint16_t power_level);

πŸ’… REQUEST ARGUMENTS πŸ’…

  • conn β€” the XCB connection to X11. it's giving "your link to the display server", iconic, essential, no notes πŸ’–
  • power_level β€” okay so. the original says, and I quote: TODO: NOT YET DOCUMENTED. 😭 not me having to pass that along with a straight face. it is a uint16_t, that's what we know, that's what we're telling you.

πŸ¦‹ DESCRIPTION πŸ¦‹

the manpage has a DESCRIPTION heading and then... absolutely nothing under it. silence. the void. main character energy but make it mysterious 🌈 so like, there's genuinely no description text to relay here β€” the original just does not say anything, and I'm not about to invent lore that isn't real. periodt.


πŸ‘‘ RETURN VALUE πŸ‘‘

it hands you back an xcb_void_cookie_t ✨ and any errors (if there even are any) have to be dealt with in the event loop, bestie β€” that's the assignment.

but wait, there's an alternative route 🫢 if you'd rather handle errors directly with xcb_request_check instead, then use xcb_dpms_force_level_checked β€” she's the checked version, she does the same job with receipts. see xcb-requests(3) for the full tea.


πŸ’€ ERRORS πŸ’€

nope, nada, zero. this request does never generate any errors. flawless behavior, honestly πŸ’œ

⭐ SEE ALSO ⭐

the original page has a SEE ALSO section and then… leaves it empty πŸ“ no references, no cross-links, nothing. just vibes. so there's nothing for me to list here, and I refuse to make something up. iykyk.


πŸ™ˆ AUTHOR πŸ™ˆ

this page was generated from dpms.xml 🧚 if you spot something that needs correcting or improving, hit up xcb@lists.freedesktop.org β€” they're the ones who take those messages, fr fr.


and that's a wrap, angel πŸ’– this came out of X Version 11, libxcb 1.17.0, straight off the xcb_dpms_force_level(3) page β€” slay, go force some power levels responsibly ✨🌸