WPrefs: Remove extra include of src/wconfig.h
[wmaker-crm.git] / WINGs / wutil.c
blob4becac9e6b40a9f06936e63f8dd210413ce4d27b
2 /*
3 * Handle events for non-GUI based applications
4 */
6 #include "WINGsP.h"
8 void WHandleEvents()
10 /* Check any expired timers */
11 W_CheckTimerHandlers();
13 /* Do idle and timer stuff while there are no input events */
14 /* Do not wait for input here. just peek to see if input is available */
15 while (!W_HandleInputEvents(False, -1) && W_CheckIdleHandlers()) {
16 /* dispatch timer events */
17 W_CheckTimerHandlers();
20 W_HandleInputEvents(True, -1);
22 /* Check any expired timers */
23 W_CheckTimerHandlers();