JWM Source Documentation
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
Function Documentation
| void DiscardMotionEvents | ( | XEvent * | event, |
| Window | w | ||
| ) |
Discard excess motion events.
- Parameters:
-
event The event to return. w The window whose events to discard.
| void ProcessEvent | ( | XEvent * | event | ) |
Process an event.
- Parameters:
-
event The event to process.
| void UpdateTime | ( | const XEvent * | event | ) |
Update the last event time.
- Parameters:
-
event The event containing the time to use.
| void WaitForEvent | ( | ) |
Wait for an event and process it.
Variable Documentation
| Time eventTime |
Last event time.