XPresentNotifyMSC(3)

πŸ“¦
version 1.0.2 Β· 2 versions
, in alpine 3.24, arch rolling, nixos 26.05, nixpkgs unstable

okay bestie, welcome to XPresentNotifyMSC(3) from X Version 11 β€” it’s giving X Present Extension, and we’re gonna get you fluent in it πŸ’…βœ¨

πŸŽ€ NAME πŸŽ€

XPresentNotifyMSC β€” the X Present Extension cutie that asks the server to send you a PresentCompleteNotifyEvent later, on purpose, with matching vibes 🌸

πŸ¦‹ SYNTAX πŸ¦‹

#include <X11/extensions/Xpresent.h>

void XPresentNotifyMSC (Display *display,
     Window window,
     uint32_t serial,
     uint64_t target_msc,
     uint64_t divisor,
     uint64_t remainder);

πŸ’– DESCRIPTION πŸ’–

okay so XPresentNotifyMSC requests that the X server specified by display deliver a PresentCompleteNotifyEvent with kind PresentCompleteKindNotifyMSC after the time specified by target-msc, divisor and remainder. literally scheduling your little event glow-up ⭐

serial is an arbitrary client-specified value which will be returned in the event so that the client can associate the event and request. bestie, it’s your personal lil tracking number πŸŽ€

If target-msc is greater than the current Media Stream Counter (msc) for window, the event will be delivered at (or after) the target-msc field. Otherwise, the event delivery will occur after the next field where msc % divisor == remainder. math but make it fashion πŸ”₯

If window is destroyed before the event is delivered, then the event delivery will not be completed. no event for a gone window, periodt πŸ’€

πŸ‘‘ SEE ALSO πŸ‘‘

🌈 AUTHORS 🌈

Keith Packard, Intel β€” iconic behavior fr fr πŸ’œ


this lil manual moment was brought to you by libXpresent 1.0.2, dated 2022-08-27 β€” mwah, bestie 🫢✨

πŸ“¦ where this page comes from