Revert "awful.client.movetoscreen: Don't untag clients completely (FS#1196)"

This reverts commit bbe86e4e25. That commit caused
unintuitive, special behavior. Instead, when someone wants us to set a screen,
we really should do so.
This commit is contained in:
Uli Schlachter 2014-03-26 14:28:04 +01:00
parent a73bcd732a
commit eed605bf7f
1 changed files with 2 additions and 4 deletions

View File

@ -502,10 +502,8 @@ function client.movetoscreen(c, s)
s = sel.screen + 1 s = sel.screen + 1
end end
if s > sc then s = 1 elseif s < 1 then s = sc end if s > sc then s = 1 elseif s < 1 then s = sc end
if #tag.selectedlist(s) > 0 then sel.screen = s
sel.screen = s screen.focus(s)
screen.focus(s)
end
end end
end end