JWM Source Documentation

event.h File Reference

Header for the event functions. More...

Go to the source code of this file.

Functions

void WaitForEvent ()
 Wait for an event and process it.
void ProcessEvent (XEvent *event)
 Process an event.
void DiscardMotionEvents (XEvent *event, Window w)
 Discard excess motion events.
void UpdateTime (const XEvent *event)
 Update the last event time.

Variables

Time eventTime
 Last event time.

Detailed Description

Header for the event functions.

Author:
Joe Wingbermuehle
Date:
2004-2006

Definition in file event.h.


Function Documentation

void DiscardMotionEvents ( XEvent *  event,
Window  w 
)

Discard excess motion events.

Parameters:
eventThe event to return.
wThe window whose events to discard.
void ProcessEvent ( XEvent *  event)

Process an event.

Parameters:
eventThe event to process.
void UpdateTime ( const XEvent *  event)

Update the last event time.

Parameters:
eventThe event containing the time to use.
void WaitForEvent ( )

Wait for an event and process it.


Variable Documentation

Time eventTime

Last event time.