diff options
author | Vincent Blankfield <vvv> | 2021-03-26 20:19:04 +0300 |
---|---|---|
committer | Harley Acheson <harley.acheson@gmail.com> | 2021-03-26 20:19:50 +0300 |
commit | 12193035ed126ba5eeba7961cce0bcd13cc60ec1 (patch) | |
tree | 58944cb596c9a70acb9e3ef662f6ca2b8d7ed2ae /intern/ghost | |
parent | 8408a8fda2f2e635b8351a17c75ea7b8ce5e548c (diff) |
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
Diffstat (limited to 'intern/ghost')
-rw-r--r-- | intern/ghost/intern/GHOST_WindowWin32.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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: |