shifty: don't ask name for a new tag if we have the position

Just use the position.
This commit is contained in:
Vincent Bernat 2012-09-11 02:22:18 +02:00
parent c897b8c837
commit 3380eded5a

View file

@ -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