From 06fdb6ca45d74ad797c2e90183ba05697c3aa0a7 Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Sat, 30 Jan 2016 21:49:03 +0100 Subject: [PATCH] - fixed: The reverb editor failed to open in fullscreen mode at desktop resolution. According to Blzut3: The issue happens when the fullscreen resolution is the same as the desktop resolution. In this case WM_DISPLAYCHANGE doesn't occur so the editor never appears. This appears to be fixable by also catching WM_STYLECHANGED since at the very least the window caption will appear/disappear. --- src/win32/i_input.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/win32/i_input.cpp b/src/win32/i_input.cpp index 941fc15de..328caea06 100644 --- a/src/win32/i_input.cpp +++ b/src/win32/i_input.cpp @@ -525,6 +525,7 @@ LRESULT CALLBACK WndProc (HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam) break; case WM_DISPLAYCHANGE: + case WM_STYLECHANGED: if (SpawnEAXWindow) { SpawnEAXWindow = false;