diff --git a/Library/TrayWindow.cpp b/Library/TrayWindow.cpp index 80f454ab..0efa2361 100644 --- a/Library/TrayWindow.cpp +++ b/Library/TrayWindow.cpp @@ -583,7 +583,8 @@ LRESULT CALLBACK CTrayWindow::WndProc(HWND hWnd, UINT uMsg, WPARAM wParam, LPARA break; } - if (!bang.empty()) + if (!(GetKeyState(VK_CONTROL) & 0x80) && // Ctrl is pressed, so only run default action + !bang.empty()) { Rainmeter->ExecuteCommand(bang.c_str(), NULL); }