Skip to content

Commit

Permalink
Prevent 'ding' sounds caused by Alt+key combinations.
Browse files Browse the repository at this point in the history
  • Loading branch information
nitrocaster committed Jan 25, 2016
1 parent 0e56552 commit 169b901
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/xrEngine/Device_wndproc.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,10 @@ bool CRenderDevice::on_message(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lPara
result = 0;
return (true);
}
case WM_HOTKEY: // prevent 'ding' sounds caused by Alt+key combinations
case WM_SYSCHAR:
result = 0;
return true;
}

return (false);
Expand Down

0 comments on commit 169b901

Please sign in to comment.