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:
parent
b5d6c4eb0d
commit
0b5fa183d1
|
@ -502,11 +502,9 @@ 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
|
||||||
|
|
||||||
--- Mark a client, and then call 'marked' hook.
|
--- Mark a client, and then call 'marked' hook.
|
||||||
|
|
Loading…
Reference in New Issue