aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tt.layout.ahk2
1 files changed, 2 insertions, 0 deletions
diff --git a/tt.layout.ahk b/tt.layout.ahk
index 5b15342..a9f8759 100644
--- a/tt.layout.ahk
+++ b/tt.layout.ahk
@@ -14,6 +14,8 @@ else
if (v = current)
new := activelayouts[k+1]
}
+ if (new = "")
+ new := activelayouts[1]
}
DllCall("SendMessage", "UInt", WinActive("A"), "UInt", 80, "UInt", 1, "UInt", new)
Sleep, 100