Update Serbian translation from master branch
[wmaker-crm.git] / WINGs / wutil.c
blob6125a384844f7ee852888b6655d60532d5a7ffb4
2 /*
3 * Handle events for non-GUI based applications
4 */
6 #include "WINGsP.h"
8 void WHandleEvents(void)
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();