Merge pull request #150 from Elv13/fix_arrange_error

layout: Fix delayed arrange regression
This commit is contained in:
Emmanuel Lepage Vallée 2015-02-24 20:52:19 +00:00
commit 2f0a7f9de4
1 changed files with 1 additions and 1 deletions

View File

@ -97,7 +97,7 @@ end
--- Arrange a screen using its current layout. --- Arrange a screen using its current layout.
-- @param screen The screen to arrange. -- @param screen The screen to arrange.
function layout.arrange(screen) function layout.arrange(screen)
if delayed_arrange[screen] then return end if not screen or delayed_arrange[screen] then return end
delayed_arrange[screen] = true delayed_arrange[screen] = true
timer.delayed_call(function() timer.delayed_call(function()