---
name: "XPresentSelectInput"
section: "3"
platform: "linux"
package: "libxpresent"
version: "1.0.2-1"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/XPresentSelectInput"
---

# XPresentSelectInput(3)

select X Present Extension events to receive

## NAME

XPresentSelectInput - select X Present Extension events to receive

## SYNTAX

\#include \<X11/extensions/Xpresent.h\>

```

XID XPresentSelectInput (Display *display,
	Window window,
	unsigned int event_mask);

void XPresentFreeInput (Display *display,
        Window window,
        XID event_id);
```

## DESCRIPTION

**XPresentSelectInput** selects a set of Present events to be delivered for the specified *window* on the X server specified by *display*.

**XPresentSelectInput** returns an XID which may be passed to **XPresentFreeInput** to stop receiving the requested events.

## SEE ALSO

[**Xpresent**(3)](/Xpresent/3.md), [**XPresentNotifyMSC**(3)](/XPresentNotifyMSC/3.md), [**XPresentPixmap**(3)](/XPresentPixmap/3.md), [**XPresentQueryCapabilities**(3)](/XPresentQueryCapabilities/3.md)

## AUTHORS

Keith Packard, Intel
