XPresentNotifyMSC(3)

XPresentNotifyMSC3

X present extension

Usage

#include <X11/extensions/Xpresent.h>

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

Overview

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.

serial is an arbitrary client-specified value which will be returned in the event so that the client can associate the event and request.

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.

If window is destroyed before the event is delivered, then the event delivery will not be completed.

Releases

2 releases since Debian 13 (Trixie); the text changed 1 time.

  1. 13
  2. Arch

Authors

Keith Packard, Intel

From libxpresent 1.0.2-1 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.