Commit: 12193035ed126ba5eeba7961cce0bcd13cc60ec1
Author: Vincent Blankfield
Date:   Fri Mar 26 10:19:04 2021 -0700
Branches: master
https://developer.blender.org/rB12193035ed126ba5eeba7961cce0bcd13cc60ec1

Fix T86859: Allow covering of Taskbar when Fullscreen from Maximized

When the window is already maximized allow covering Windows Taskbar when 
toggling fullscreen.

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

Reviewed by Harley Acheson

===================================================================

M       intern/ghost/intern/GHOST_WindowWin32.cpp

===================================================================

diff --git a/intern/ghost/intern/GHOST_WindowWin32.cpp 
b/intern/ghost/intern/GHOST_WindowWin32.cpp
index 70901954df2..7496874b4b9 100644
--- a/intern/ghost/intern/GHOST_WindowWin32.cpp
+++ b/intern/ghost/intern/GHOST_WindowWin32.cpp
@@ -533,7 +533,7 @@ GHOST_TSuccess 
GHOST_WindowWin32::setState(GHOST_TWindowState state)
       wp.showCmd = SW_SHOWMAXIMIZED;
       wp.ptMaxPosition.x = 0;
       wp.ptMaxPosition.y = 0;
-      style &= ~WS_CAPTION;
+      style &= ~(WS_CAPTION | WS_MAXIMIZE);
       break;
     case GHOST_kWindowStateNormal:
     default:

_______________________________________________
Bf-blender-cvs mailing list
[email protected]
https://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to