Win32: Do not (yet) set window styles for Dialog

Remove the setting of Dialog window styles until we confirm expected behavior between platforms.

Differential Revision: https://developer.blender.org/D10470

Own Code
This commit is contained in:
Harley Acheson 2021-02-22 12:46:45 -08:00
parent 9c395d6275
commit beb1f1b805
Notes: blender-bot 2023-02-14 08:08:56 +01:00
Referenced by issue #85768, Toggle Window Fullscreen broken for New Window (Titlebar visible)
1 changed files with 4 additions and 2 deletions

View File

@ -114,8 +114,10 @@ GHOST_WindowWin32::GHOST_WindowWin32(GHOST_SystemWin32 *system,
DWORD extended_style = parentwindow ? WS_EX_APPWINDOW : 0;
if (dialog) {
style = WS_POPUPWINDOW | WS_CAPTION;
extended_style = WS_EX_DLGMODALFRAME | WS_EX_TOPMOST;
/* When we are ready to make windows of this type:
* style = WS_POPUPWINDOW | WS_CAPTION
* extended_style = WS_EX_DLGMODALFRAME | WS_EX_TOPMOST
*/
}
/* Monitor details. */