Fixed some focus related problems when switching workspaces, including the
[wmaker-crm.git] / WINGs / wutil.c
blob814d59a168432aa062670f8e93474fc67c7bc784
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 se 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();