increased libwraster version
[wmaker-crm.git] / WINGs / wutil.c
blobf28c459cb27a60c1b59900850c3513b6a23ae717
3 /*
4 * Handle events for non-GUI based applications
5 */
7 #include "WINGsP.h"
10 void
11 WHandleEvents()
13 /* Check any expired timers */
14 W_CheckTimerHandlers();
16 /* Do idle and timer stuff while there are no input events */
17 /* Do not wait for input here. just peek to see if input is available */
18 while (!W_HandleInputEvents(False, -1) && W_CheckIdleHandlers()) {
19 /* dispatch timer events */
20 W_CheckTimerHandlers();
23 W_HandleInputEvents(True, -1);
25 /* Check any expired timers */
26 W_CheckTimerHandlers();