XtLastEventProcessed(3) XT FUNCTIONS XtLastEventProcessed(3)

# [NAME](#NAME)

XtLastEventProcessed, XtLastTimestampProcessed - last event, last timestamp processed

# [SYNTAX](#SYNTAX)

#include &lt;X11/Intrinsic.h&gt;

XEvent* XtLastEventProcessed(Display* *display*);

Time XtLastTimestampProcessed(Display* *display*);

# [ARGUMENTS](#ARGUMENTS)

[*display*](#display)

Specifies the open display connection.

# [DESCRIPTION](#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](#SEE_ALSO)

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

libXt 1.3.1 X Version 11

---

Document: XtLastTimestampProcessed(3) from libxt 1.3.1-r8 (Chainguard OS)
Source: https://gitlab.freedesktop.org/xorg/lib/libxt.git
