ignore Alt+Enter with fullscreen=true
This commit is contained in:
parent
c0bdb13f27
commit
f8ebc0c820
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue