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,12 +502,10 @@ 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.
|
||||||
-- @param c The client to mark, the focused one if not specified.
|
-- @param c The client to mark, the focused one if not specified.
|
||||||
|
|
Loading…
Reference in New Issue