Fixed automatic layout restore
This commit is contained in:
parent
f2094af979
commit
a7a3428a23
@ -292,9 +292,10 @@ function module.create(data)
|
||||
|
||||
local function cleanup()
|
||||
infobox.visible = false
|
||||
if prev_layout ~= nil then
|
||||
if prev_layout ~= nil and (not to_apply) then
|
||||
awful.layout.set(prev_layout, tag)
|
||||
end
|
||||
prev_layout = nil
|
||||
end
|
||||
|
||||
local function draw_info(context, cr, width, height)
|
||||
|
Loading…
x
Reference in New Issue
Block a user