From 12193035ed126ba5eeba7961cce0bcd13cc60ec1 Mon Sep 17 00:00:00 2001 From: Vincent Blankfield Date: Fri, 26 Mar 2021 10:19:04 -0700 Subject: 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 --- intern/ghost/intern/GHOST_WindowWin32.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'intern/ghost') 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: -- cgit v1.2.3