xcb_present_notify_msc(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_present_notify_msc πŸ’–

okay bestie, welcome to another iconic page from the XCB Requests section of the manual, xcb_present_notify_msc (that's the third section, iykyk). she's short, she's sweet, she's giving mysterious-and-unbothered πŸ’… let's get into it.


🌸 NAME 🌸

xcb_present_notify_msc β€”

ngl the original page left this one blank, so we're not gonna make up lore that isn't there. no cap. πŸ™ˆ

πŸŽ€ SYNOPSIS πŸŽ€

first up, you gotta pull in the header, periodt:

#include <xcb/present.h>

⭐ Request function ⭐

and here's the main character herself:

xcb_void_cookie_t xcb_present_notify_msc(xcb_connection_t *conn,
       xcb_window_t window, uint32_t serial, uint64_t target_msc,
       uint64_t divisor, uint64_t remainder);

look at those parameters. six of them. absolutely ate. πŸ”₯


πŸ’œ REQUEST ARGUMENTS πŸ’œ

  • conn β€” the XCB connection to X11. your lil phone line to the X server, basically πŸ“ž
  • window β€” TODO: NOT YET DOCUMENTED. bestie the docs said what they said, I'm not inventing details πŸ’€
  • serial β€” TODO: NOT YET DOCUMENTED.
  • target_msc β€” TODO: NOT YET DOCUMENTED.
  • divisor β€” TODO: NOT YET DOCUMENTED.
  • remainder β€” TODO: NOT YET DOCUMENTED.
yes, every single one is a TODO. the original is like that. we respect the original's choices 🫢

πŸ¦‹ DESCRIPTION πŸ¦‹

the original has literally nothing here. empty. a whole vibe. silence, but make it mysterious ✨


πŸ’… RETURN VALUE πŸ’…

she returns an xcb_void_cookie_t. cute, right? but here's the thing β€” errors (if any) have to be handled in the event loop. that's the deal. that's the assignment.

if you'd rather handle errors directly with xcb_request_check instead, then you want xcb_present_notify_msc_checked. same energy, different entry point. see xcb-requests(3) for the full tea β˜•


🌈 ERRORS 🌈

this request does never generate any errors. she's unproblematic. an angel. no drama, no exit statuses, no chaos. we love a low-maintenance queen πŸ‘‘


🧚 SEE ALSO 🧚

nothing listed. the original left it blank, so there's no cross-references to chase. go touch some grass, bestie 🌱


πŸ‘‘ AUTHOR πŸ‘‘

generated from present.xml. if something's wrong or you wanna slide in with improvements, contact xcb@lists.freedesktop.org πŸ’Œ


okay and that's the whole page, you're officially caught up πŸ’– this one came to you from X Version 11 and libxcb 1.17.0 β€” thanks for reading, mwah, slay, bye bestie πŸŽ€βœ¨πŸ¦‹