Fixed automatic layout restore

This commit is contained in:
Mutzi 2025-03-18 19:23:17 +01:00
parent f2094af979
commit a7a3428a23
Signed by: root
GPG Key ID: 2437494E09F13876

View File

@ -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)