mirror of
https://github.com/FunkyFr3sh/cnc-ddraw.git
synced 2025-03-24 17:49:52 +01:00
ignore Alt+Enter with fullscreen=true
This commit is contained in:
parent
c0bdb13f27
commit
f8ebc0c820
@ -478,7 +478,7 @@ LRESULT CALLBACK fake_WndProc(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam
|
|||||||
BOOL context_code = (lParam & (1 << 29)) != 0;
|
BOOL context_code = (lParam & (1 << 29)) != 0;
|
||||||
BOOL key_state = (lParam & (1 << 30)) != 0;
|
BOOL key_state = (lParam & (1 << 30)) != 0;
|
||||||
|
|
||||||
if (wParam == VK_RETURN && context_code && !key_state)
|
if (wParam == VK_RETURN && !g_ddraw->fullscreen && context_code && !key_state)
|
||||||
{
|
{
|
||||||
util_toggle_fullscreen();
|
util_toggle_fullscreen();
|
||||||
return 0;
|
return 0;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user