Reference

XSetAfterFunction(3) on Linux

The text 2f8825456eac, as Debian 12 (Bookworm) shipped it.

enable or disable synchronization

XSetAfterFunction(3) on Linux now