Fixed automatic layout restore
This commit is contained in:
		@@ -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)
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user