mirror of
https://github.com/chibicitiberiu/rainmeter-studio.git
synced 2024-02-24 04:33:31 +00:00
Cosmetic changes.
This commit is contained in:
@ -557,7 +557,7 @@ LRESULT CALLBACK CTrayWindow::WndProc(HWND hWnd, UINT uMsg, WPARAM wParam, LPARA
|
||||
break;
|
||||
}
|
||||
|
||||
if (!(GetKeyState(VK_CONTROL) < 0) && // Ctrl is pressed, so only run default action
|
||||
if (!IsCtrlKeyDown() && // Ctrl is pressed, so only run default action
|
||||
!bang.empty())
|
||||
{
|
||||
Rainmeter->ExecuteCommand(bang.c_str(), NULL);
|
||||
|
Reference in New Issue
Block a user