layout: Remove dead code

This commit is contained in:
Emmanuel Lepage Vallee 2015-02-22 19:44:37 +00:00 committed by actionless
parent 1aacf1efc4
commit 056dee0426
1 changed files with 0 additions and 11 deletions

View File

@ -173,17 +173,6 @@ capi.client.connect_signal("property::screen", function(c, old_screen)
layout.arrange(c.screen) layout.arrange(c.screen)
end) end)
local function arrange_on_tagged(c, tag)
if not tag.screen then return end
layout.arrange(tag.screen)
if not capi.client.focus or not capi.client.focus:isvisible() then
local c = client.focus.history.get(tag.screen, 0)
if c then
c:emit_signal("request::activate", "layout.arrange_on_tagged",
{raise=false})
end
end
end
local function arrange_tag(t) local function arrange_tag(t)
layout.arrange(tag.getscreen(t)) layout.arrange(tag.getscreen(t))
end end