mirror of
https://github.com/hrydgard/ppsspp.git
synced 2024-12-02 18:46:52 +00:00
Fix a bug that mouse cannot work correctly when maximize the window from 1x window size.
This commit is contained in:
parent
653de117b9
commit
eb33037f3c
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user