Fix yet another fullscreen glitch
Steps to reproduce were: Toggle fullscreen->F12->F3->ESC 2x->3D View changed to Image Editor and didn't change back. Actually it doesn't work 100% as wanted since it exits the fullscreen when pressing ESC to exit Image Editor but it's hard to support all cases with such a weird spaghetti code.
This commit is contained in:
@@ -197,7 +197,7 @@ ScrArea *render_view_open(bContext *C, int mx, int my)
|
||||
|
||||
/* we already had a fullscreen here -> mark new space as a stacked fullscreen */
|
||||
if (sa->full) {
|
||||
sa->flag |= AREA_FLAG_STACKED_FULLSCREEN;
|
||||
sa->flag |= (AREA_FLAG_STACKED_FULLSCREEN | AREA_FLAG_TEMP_TYPE);
|
||||
}
|
||||
}
|
||||
else {
|
||||
|
||||
Reference in New Issue
Block a user