changeset 7850 | e47de0a0c7dc |
parent 7849 | eafce07e8f96 |
child 7858 | eece91cb3472 |
--- a/src/window.cpp Sat Jul 28 20:59:30 2007 +0000 +++ b/src/window.cpp Sat Jul 28 21:00:31 2007 +0000 @@ -690,7 +690,7 @@ } const Window *wt = FindWindowById(WC_MAIN_TOOLBAR, 0); - w->top = max(w->top, (wt == NULL || w == wt) ? 0 : wt->height); + w->top = max(w->top, (wt == NULL || w == wt || y == 0) ? 0 : wt->height); w->left = max(w->left, 0); SetWindowDirty(w);