rem: wwin->frame->titlebar->height);
add: (wwin->frame->titlebar ? wwin->frame->titlebar->height : 0));
context: manageAllWindows(WScreen *scr, int crashRecovery){    Window root, parent;    Window *children;    unsigned int nchildren;    unsigned int i, j;    WWindow *wwin;    XGrabServer(dpy);    XQueryTree(dpy, scr->root_win, &root, &parent, &children, &nchildren);    scr->flags.startup = 1;    /* first remove all icon windows */    for (i = 0; i < nchildren; i++) {	XWMHints *wmhints;	if (children[i]==None) 	    continue;    	wmhints = XGetWMHints(dpy, children[i]);	if (wmhints && (wmhints->flags & IconWindowHint)) {	    for (j = 0; j < nchildren; j++)  {		if (children[j] == wmhints->icon_window) {		    XFree(wmhints);		    wmhints = NULL;		    children[j] = None;		    break;		}	    }	}	if (wmhints) {	    XFree(wmhints);	}    }    for (i = 0; i < nchildren; i++) {	if (children[i] == None)	    continue;#ifdef KWM_HINTS	wKWMCheckModule(scr, children[i]);#endif	wwin = wManageWindow(scr, children[i]);	if (wwin) {	    /* apply states got from WSavedState */	    /* shaded + minimized is not restored correctly */	    if (wwin->flags.shaded) {		wwin->flags.shaded = 0;		wShadeWindow(wwin);	    }	    if (wwin->flags.miniaturized		&& (wwin->transient_for == None		    || wwin->transient_for == scr->root_win		    || !windowInList(wwin->transient_for, children, 				     nchildren))) {		wwin->flags.skip_next_animation = 1;		wwin->flags.miniaturized = 0;		wIconifyWindow(wwin);	    } else {		wClientSetState(wwin, NormalState, None);            }            if (crashRecovery) {                int border;                border = (WFLAGP(wwin, no_border) ? 0 : FRAME_BORDER_WIDTH);                wWindowMove(wwin, wwin->frame_x - border,                            wwin->frame_y - border -                            wwin->frame->titlebar->height);            }	}    }    XUngrabServer(dpy);    /* hide apps */    wwin = scr->focused_window;    while (wwin) {	if (wwin->flags.hidden) {	    WApplication *wapp = wApplicationOf(wwin->main_window);	    if (wapp) {		wwin->flags.hidden = 0;		wHideApplication(wapp);	    } else {		wwin->flags.hidden = 0;	    }	}	wwin = wwin->prev;    }    XFree(children);    scr->flags.startup = 0;    scr->flags.startup2 = 1;    while (XPending(dpy)) {	XEvent ev;	WMNextEvent(dpy, &ev);	WMHandleEvent(&ev);    }    wWorkspaceForceChange(scr, 0);    if (!wPreferences.flags.noclip)        wDockShowIcons(scr->workspaces[scr->current_workspace]->clip);    scr->flags.startup2 = 0;}