Merge branch 'layout_unit_testability_V2' of git://github.com/Elv13/awesome-1

This commit is contained in:
Uli Schlachter 2014-10-18 10:01:00 +02:00
commit a764afb81e
2 changed files with 4 additions and 3 deletions

View File

@ -23,8 +23,9 @@ function magnifier.arrange(p)
-- Fullscreen?
local area = p.workarea
local cls = p.clients
local focus = capi.client.focus
local mwfact = tag.getmwfact(tag.selected(p.screen))
local focus = p.focus or capi.client.focus
local t = p.tag or tag.selected(p.screen)
local mwfact = tag.getmwfact(t)
local fidx
-- Check that the focused window is on the right screen

View File

@ -74,7 +74,7 @@ local function tile_group(cls, wa, orientation, fact, group)
end
local function do_tile(param, orientation)
local t = tag.selected(param.screen)
local t = param.tag or tag.selected(param.screen)
orientation = orientation or "right"
-- This handles all different orientations.