Skip to content

Commit 169b901

Browse files
author
nitrocaster
committed
Prevent 'ding' sounds caused by Alt+key combinations.
1 parent 0e56552 commit 169b901

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/xrEngine/Device_wndproc.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,10 @@ bool CRenderDevice::on_message(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lPara
5959
result = 0;
6060
return (true);
6161
}
62+
case WM_HOTKEY: // prevent 'ding' sounds caused by Alt+key combinations
63+
case WM_SYSCHAR:
64+
result = 0;
65+
return true;
6266
}
6367

6468
return (false);

0 commit comments

Comments
 (0)