Seem switchspace moves my cursor around. how, bout no!

parent c292d61f
......@@ -55,10 +55,12 @@ function moveWindowOneSpace(dir)
(dir=="left" and spc==thisSpace) or
(dir=="right" and last==thisSpace)
then
-- move the window to target space
win:spacesMoveTo(dir=="left" and last or spc)
switchSpace(skipSpaces+1,dir)
win:focus()
-- move the user to the target space
-- switchSpace(skipSpaces+1,dir) -- put back if win:focus() isn't enough
win:focus()
return
end
last=spc -- Haven't found it yet...
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment