Merge branch 'layout_unit_testability_V2' of git://github.com/Elv13/awesome-1
This commit is contained in:
commit
a764afb81e
|
@ -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
|
||||
|
|
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue