Skip to content

Commit

Permalink
allways allow Alt+F4
Browse files Browse the repository at this point in the history
  • Loading branch information
FunkyFr3sh committed Dec 29, 2024
1 parent 8240800 commit d1af7fa
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/wndproc.c
Original file line number Diff line number Diff line change
Expand Up @@ -851,6 +851,11 @@ LRESULT CALLBACK fake_WndProc(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam
}
case WM_SYSKEYDOWN:
{
if (wParam == VK_F4)
{
return real_DefWindowProcA(hWnd, uMsg, wParam, lParam);
}

break;
}
case WM_SYSKEYUP:
Expand Down

0 comments on commit d1af7fa

Please sign in to comment.