rem: if (timerPending()) { checkTimerHandlers(); }
add: checkTimerHandlers();
context: WMNextEvent(Display *dpy, XEvent *event){     /* Check any expired timers */    if (timerPending()) {	checkTimerHandlers();    }    while (XPending(dpy) == 0) {	/* Do idle stuff */	/* Do idle and timer stuff while there are no timer or X events */	while (!XPending(dpy) && checkIdleHandlers()) {	    /* dispatch timer events */	    if (timerPending())		checkTimerHandlers();	}	/*	 * Make sure that new events did not arrive while we were doing	 * timer/idle stuff. Or we might block forever waiting for	 * an event that already arrived. 	 */	/* wait to something happen */	W_WaitForEvent(dpy, 0);	        /* Check any expired timers */        if (timerPending()) {            checkTimerHandlers();        }    }    XNextEvent(dpy, event);}