mirror of
https://github.com/awesomeWM/awesome
synced 2024-11-17 07:47:41 +01:00
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
a73bcd732a
commit
eed605bf7f
1 changed files with 2 additions and 4 deletions
|
@ -502,10 +502,8 @@ function client.movetoscreen(c, s)
|
|||
s = sel.screen + 1
|
||||
end
|
||||
if s > sc then s = 1 elseif s < 1 then s = sc end
|
||||
if #tag.selectedlist(s) > 0 then
|
||||
sel.screen = s
|
||||
screen.focus(s)
|
||||
end
|
||||
sel.screen = s
|
||||
screen.focus(s)
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue