From 3380eded5afc860667672b8b3158446c2c818068 Mon Sep 17 00:00:00 2001 From: Vincent Bernat Date: Tue, 11 Sep 2012 02:22:18 +0200 Subject: [PATCH] shifty: don't ask name for a new tag if we have the position Just use the position. --- lib/shifty.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/shifty.lua b/lib/shifty.lua index 0357082..cea1900 100644 --- a/lib/shifty.lua +++ b/lib/shifty.lua @@ -786,7 +786,7 @@ function getpos(pos, scr_arg) if not v then -- not existing, not preconfigured v = add({position = pos, - name = i, + name = pos, noswitch = not switch}) end return v