diff options
Diffstat (limited to 'source/blender')
-rw-r--r-- | source/blender/windowmanager/intern/wm_files.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/source/blender/windowmanager/intern/wm_files.c b/source/blender/windowmanager/intern/wm_files.c index 30a941bb991..066b1321947 100644 --- a/source/blender/windowmanager/intern/wm_files.c +++ b/source/blender/windowmanager/intern/wm_files.c @@ -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; } } } |