aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tt.windowselect.ahk2
1 files changed, 2 insertions, 0 deletions
diff --git a/tt.windowselect.ahk b/tt.windowselect.ahk
index 0f975b9..20c10b1 100644
--- a/tt.windowselect.ahk
+++ b/tt.windowselect.ahk
@@ -29,7 +29,9 @@ Taskbar(n)
tmp := A_CoordModeMouse
CoordMode, Mouse, Screen
MouseGetPos, ox, oy
+ BlockInput, On
MouseClick, Left, %x%, %A_ScreenHeight%, 1, 0
MouseMove, %ox%, %oy%, 0
+ BlockInput, Off
CoordMode, Mouse, %tmp%
}