XPresentNotifyMSC(3)
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
- alpine 3.24: libxpresent-doc 1.0.2-r0 Β· MIT
- arch rolling: libxpresent 1.0.2-1 Β· MIT
- nixos 26.05: libxpresent 1.0.2
- nixpkgs unstable: libxpresent 1.0.2
- Copyright Β© 2013 Keith Packard
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms