From abc63ed34b6b61a14615249def36ad1ea3eeb0e4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?John=20Ankarstr=C3=B6m?= Date: Fri, 11 Dec 2020 16:50:07 +0100 Subject: windows: Disable background window activation hotkey It does not seem to work properly in Windows 7. Might need to change it. --- tt.windows.ahk | 2 ++ 1 file changed, 2 insertions(+) (limited to 'tt.windows.ahk') 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 -------------------- -- cgit v1.2.3