From bd87ba90e639e7c6fd6c6967a100a85f1064dff8 Mon Sep 17 00:00:00 2001 From: Harley Acheson Date: Fri, 11 Jun 2021 13:05:34 -0700 Subject: Render Window as Non-Child on Win32 platform This patch makes the "Render" window a top-level window, not a child of the main window, which was the case in blender versions prior to 2.93. This means it is no longer "on top", nor is the icon grouped on the taskbar in the same way, but you can Alt-Tab between it and the main window. This change only affects the Windows platform as the other platforms behave this way. See D11576 for links to negative feedback that prompts this change. Differential Revision: https://developer.blender.org/D11576 Reviewed by Brecht Van Lommel --- source/blender/editors/screen/screen_ops.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'source/blender/editors/screen/screen_ops.c') diff --git a/source/blender/editors/screen/screen_ops.c b/source/blender/editors/screen/screen_ops.c index b41b54fee1f..373bde99e24 100644 --- a/source/blender/editors/screen/screen_ops.c +++ b/source/blender/editors/screen/screen_ops.c @@ -1362,6 +1362,7 @@ static int area_dupli_invoke(bContext *C, wmOperator *op, const wmEvent *event) area->winx, area->winy, SPACE_EMPTY, + false, true, false, WIN_ALIGN_ABSOLUTE); @@ -4955,6 +4956,7 @@ static int userpref_show_exec(bContext *C, wmOperator *op) sizey, SPACE_USERPREF, false, + false, true, WIN_ALIGN_LOCATION_CENTER) != NULL) { /* The header only contains the editor switcher and looks empty. @@ -5021,6 +5023,7 @@ static int drivers_editor_show_exec(bContext *C, wmOperator *op) sizey, SPACE_GRAPH, false, + false, true, WIN_ALIGN_LOCATION_CENTER) != NULL) { ED_drivers_editor_init(C, CTX_wm_area(C)); @@ -5089,6 +5092,7 @@ static int info_log_show_exec(bContext *C, wmOperator *op) sizey, SPACE_INFO, false, + false, true, WIN_ALIGN_LOCATION_CENTER) != NULL) { return OPERATOR_FINISHED; -- cgit v1.2.3