Skip to content
Permalink
Browse files

FullScreen + StayOnTop = Big NoNo (#1851)

You can't minimized the game via alt+tab if both fullscreen and stayontop.
  • Loading branch information...
time-killer-games authored and JoshDreamland committed Aug 13, 2019
1 parent c9352a7 commit a0584161d9fda78e259ff831db47635e674a92d0
Showing with 1 addition and 1 deletion.
  1. +1 −1 ENIGMAsystem/SHELL/Platforms/Win32/WINDOWSwindow.cpp
@@ -194,7 +194,7 @@ void window_set_fullscreen(bool full) {
window_set_maximized(false);
tmpWidth = window_get_width();
tmpHeight = window_get_height();
window_set_stayontop(true);
window_set_stayontop(false);
LONG_PTR style = GetWindowLongPtr(enigma::hWnd, GWL_STYLE);
style &= ~(WS_CAPTION | WS_BORDER | WS_MAXIMIZEBOX | WS_MINIMIZEBOX);
style |= WS_SIZEBOX;

0 comments on commit a058416

Please sign in to comment.
You can’t perform that action at this time.