Created
January 14, 2013 04:05
-
-
Save k-tsj/4527691 to your computer and use it in GitHub Desktop.
yamy-0.03-alt-tab.patch
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/hook.cpp b/hook.cpp | |
index 98b585d..b9a994f 100644 | |
--- a/hook.cpp | |
+++ b/hook.cpp | |
@@ -810,6 +810,9 @@ static LRESULT CALLBACK lowLevelKeyboardProc(int nCode, WPARAM wParam, LPARAM lP | |
if (g.m_keyboardDetour && g.m_engine) { | |
unsigned int result; | |
+ if (nCode == HC_ACTION && pKbll->vkCode == VK_TAB && pKbll->flags & LLKHF_ALTDOWN) { | |
+ goto through; | |
+ } | |
result = g.m_keyboardDetour(g.m_engine, wParam, lParam); | |
if (result) { | |
return 1; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment