diff options
author | John Ankarström <john@ankarstrom.se> | 2020-12-11 16:50:07 +0100 |
---|---|---|
committer | John Ankarström <john@ankarstrom.se> | 2020-12-11 16:50:07 +0100 |
commit | abc63ed34b6b61a14615249def36ad1ea3eeb0e4 (patch) | |
tree | 740b886124c27c74ed08cf791fe45c10f383ea3d /tt.windows.ahk | |
parent | be8cc462b75235759938ec6d65e6cb305b4ccc06 (diff) | |
download | ahk-abc63ed34b6b61a14615249def36ad1ea3eeb0e4.tar.gz |
windows: Disable background window activation hotkey
It does not seem to work properly in Windows 7. Might need to change
it.
Diffstat (limited to 'tt.windows.ahk')
-rw-r--r-- | tt.windows.ahk | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tt.windows.ahk b/tt.windows.ahk index ec6532c..84f6385 100644 --- a/tt.windows.ahk +++ b/tt.windows.ahk @@ -113,6 +113,7 @@ WinSet, Enable,, ahk_id %WindowDisabled% return */ +/* ^RButton:: hwndp := WinActive("A") MouseGetPos,,, hwnd @@ -125,6 +126,7 @@ DllCall("SetForegroundWindow", "UInt", hwnd) WinSet, AlwaysOnTop, On, ahk_id %hwndp% WinSet, AlwaysOnTop, Off, ahk_id %hwndp% return +*/ ;; Fix inconsistent z-order after minimization via taskbar -------------------- |