diff options
author | Harley Acheson <harley.acheson@gmail.com> | 2021-06-11 23:05:34 +0300 |
---|---|---|
committer | Harley Acheson <harley.acheson@gmail.com> | 2021-06-11 23:07:30 +0300 |
commit | bd87ba90e639e7c6fd6c6967a100a85f1064dff8 (patch) | |
tree | fee9ee821f42df86b88853f9352c380d46054934 /source/blender/editors/screen | |
parent | 7bc5246156e0eba3992317f8ca1b4642de324689 (diff) |
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
Diffstat (limited to 'source/blender/editors/screen')
-rw-r--r-- | source/blender/editors/screen/screen_edit.c | 1 | ||||
-rw-r--r-- | source/blender/editors/screen/screen_ops.c | 4 |
2 files changed, 5 insertions, 0 deletions
diff --git a/source/blender/editors/screen/screen_edit.c b/source/blender/editors/screen/screen_edit.c index 6fb5f33d836..6cb184a3394 100644 --- a/source/blender/editors/screen/screen_edit.c +++ b/source/blender/editors/screen/screen_edit.c @@ -1585,6 +1585,7 @@ ScrArea *ED_screen_temp_space_open(bContext *C, sizex, sizey, (int)space_type, + false, dialog, true, WIN_ALIGN_LOCATION_CENTER)) { 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; |