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:
parent
da9c371b61
commit
f8aa39a8ab
7
init.lua
7
init.lua
|
@ -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 {}
|
||||
|
|
Loading…
Reference in New Issue