rem: if (!wwin->flags.destroyed) {
add: if (!wwin->flags.destroyed && wwin->flags.focused) {
context: raiseWindow(WScreen *scr){    WWindow *wwin;    scr->autoRaiseTimer = NULL;    wwin = wWindowFor(scr->autoRaiseWindow);        if (!wwin)	return;    if (!wwin->flags.destroyed) {	wRaiseFrame(wwin->frame->core);	/* this is needed or a race condition will occur */	XSync(dpy, False);    }}