Bugfix: loading 2.5 .blend files in different sized windows didn't correct
the screen size for it yet.
This commit is contained in:
2009-04-13 14:39:43 +00:00
parent bf2ccf04a7
commit 2a6b1db9ad

View File

@@ -598,6 +598,12 @@ static void wm_window_match_do(bContext *C, ListBase *oldwmlist)
win->eventstate= oldwin->eventstate;
oldwin->eventstate= NULL;
/* ensure proper screen rescaling */
win->sizex= oldwin->sizex;
win->sizey= oldwin->sizey;
win->posx= oldwin->posx;
win->posy= oldwin->posy;
}
}
}