From eed605bf7ff2b75ddcf2ca14798065b08a7656d8 Mon Sep 17 00:00:00 2001 From: Uli Schlachter Date: Wed, 26 Mar 2014 14:28:04 +0100 Subject: [PATCH] Revert "awful.client.movetoscreen: Don't untag clients completely (FS#1196)" This reverts commit bbe86e4e256d20c7aa94a28f7fdc838d5a0abd4e. That commit caused unintuitive, special behavior. Instead, when someone wants us to set a screen, we really should do so. --- lib/awful/client.lua.in | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/lib/awful/client.lua.in b/lib/awful/client.lua.in index 595cf8591..f72e9be15 100644 --- a/lib/awful/client.lua.in +++ b/lib/awful/client.lua.in @@ -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