Fix client drag and drop (move) between screens

This is also the job of the request::tag handler to make sure it
works. Tyrannical didn't.
This commit is contained in:
Emmanuel Lepage Vallee 2016-12-11 22:16:06 -05:00
parent da9c371b61
commit f8aa39a8ab
1 changed files with 7 additions and 0 deletions

View File

@ -167,6 +167,13 @@ end
--Match client
local function match_client(c, forced_tags, hints)
-- Don't prevent tags from being drag and dropped between screens
if hints and hints.reason == "screen" then
c:tags {c.screen.selected_tag}
return true
end
if (not c) or #c:tags() > 0 then return end
local props = c.startup_id and sn_callback[tostring(c.startup_id)] or {}