awful.client.movetoscreen: Don't untag clients completely (FS#1196)
commitbbe86e4e256d20c7aa94a28f7fdc838d5a0abd4e
authorUli Schlachter <psychon@znc.in>
Sun, 16 Mar 2014 20:53:58 +0000 (16 21:53 +0100)
committerUli Schlachter <psychon@znc.in>
Sun, 16 Mar 2014 20:53:58 +0000 (16 21:53 +0100)
tree043dbf3fee3dd03757710de9e900c748989b3020
parentedaca590f6825e3534b4f1460526214d225a083d
awful.client.movetoscreen: Don't untag clients completely (FS#1196)

If a client gets moved to a screen without any selected tags, that client
disappears and it is non-trivial to get it back. Since this is unexpected and
annoying, make movetoscreen do nothing if the target screen has no tags
selected.

Signed-off-by: Uli Schlachter <psychon@znc.in>
lib/awful/client.lua.in