mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-01 14:58:14 +00:00
Fix a bug that mouse cannot work correctly when maximize the window from 1x window size.
This commit is contained in:
1 parent
653de117b9
commit
eb33037f3c
1 file changed
+1
-1
@@ -830,7 +830,7 @@ namespace MainWindow
|
||||
|
||||
LRESULT CALLBACK DisplayProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam) {
|
||||
// Only apply a factor > 1 in windowed mode.
|
||||
int factor = !g_Config.bFullScreen && g_Config.iWindowWidth < (480 + 80) ? 2 : 1;
|
||||
int factor = !IsZoomed(GetHWND()) && !g_Config.bFullScreen && g_Config.iWindowWidth < (480 + 80) ? 2 : 1;
|
||||
|
||||
switch (message) {
|
||||
case WM_ACTIVATE:
|
||||
|
||||
Reference in new issue
Block a user