diff options
Diffstat (limited to 'src/event.h')
-rw-r--r-- | src/event.h | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/src/event.h b/src/event.h new file mode 100644 index 0000000..627442b --- /dev/null +++ b/src/event.h @@ -0,0 +1,28 @@ +/** + * @file event.h + * @author Joe Wingbermuehle + * @date 2004-2006 + * + * @brief Header for the event functions. + * + */ + +#ifndef EVENT_H +#define EVENT_H + +/** Wait for an event and process it. */ +void WaitForEvent(); + +/** Process an event. + * @param event The event to process. + */ +void ProcessEvent(XEvent *event); + +/** Discard excess motion events. + * @param event The event to return. + * @param w The window whose events to discard. + */ +void DiscardMotionEvents(XEvent *event, Window w); + +#endif + |