XSynchronize(3)
πΈ NAME πΈ
okay bestie, this is XSynchronize(3) from the XLIB FUNCTIONS crew β it's all about enabling or disabling synchronization, plus the XSetAfterFunction bestie that comes with it π
β¨
β¨ SYNTAX β¨
int (*XSynchronize(Display *display, Bool onoff))();
int (*XSetAfterFunction(Display *display, int (*procedure)()))();
π ARGUMENTS π
displayβ specifies the connection to the X server. your whole link to the X world, basically π«Άprocedureβ specifies the procedure to be called. yes, that exact one, no substitutions π₯onoffβ specifies a Boolean value that indicates whether to enable or disable synchronization.True= on,False= off, iconic behavior tbh π
π DESCRIPTION π
so the XSynchronize function returns the previous after function β yep, it hands you the old one back. if onoff is True, XSynchronize turns on synchronous behavior β¨. if onoff is False, XSynchronize turns off synchronous behavior π. simple as that, no cap.
the specified procedure is called with only a display pointer β that's the whole guest list, bestie π. and XSetAfterFunction returns the previous after function too, because consistency is main character energy π.
π¦ SEE ALSO π¦
XSetErrorHandler(3)Xlib - C Language X Interface
X Version 11 Β· libX11 1.8.14 β that's the source/version footer energy, bestie, and there's literally no date printed on this page, so this cute sign-off is doing double duty ππ
π¦ where this page comes from
- alpine 3.24: libx11-doc 1.8.14-r0 Β· X11
- arch rolling: libx11 1.8.14-1 Β· MIT AND X11
- nixos 26.05: libx11 1.8.14
- nixpkgs unstable: libx11 1.8.14
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms