---
name: "XtLastEventProcessed"
section: "3x"
platform: "linux"
package: "libxt-dev"
version: "4.3.0.dfsg.1-14sarge7"
release: "Debian 3.1 (Sarge)"
platforms: ["linux"]
url: "https://new.carta.tech/XtLastEventProcessed/3x"
---

# XtLastEventProcessed(3x)

last event, last timestamp processed

## NAME

XtLastEventProcessed, XtLastTimestampProcessed - last event, last timestamp processed

## SYNTAX

XEvent\* XtLastEventProcessed(Display\* *display*);

Time XtLastTimestampProcessed(Display\* *display*);

## ARGUMENTS

- *display*

  Specifies the open display connection.

## DESCRIPTION

*XtLastEventProcessed* returns the last event passed to *XtDispatchEvent* for the specified display and NULL if there has been no event. The client must not modify the contents of the returned event.

*XtLastTimestampProcessed* returns the timestamp of the last *KeyPress*, *KeyRelease*, *ButtonPress*, *ButtonRelease*, *MotionNotify*, *EnterNotify*, *LeaveNotify*, *PropertyNotify*, or *SelectionClear* event that has been passed to *XtDispatchEvent* for the specified display and zero if there has been no such event.

## SEE ALSO

*X Toolkit Intrinsics - C Language Interface*\
 *Xlib - C Language X Interface*
