From 2d8c1e06d3fc042e49af0b6b599b9322a295f82a Mon Sep 17 00:00:00 2001 From: "Adrian C. (anrxc)" Date: Wed, 30 Sep 2009 21:08:32 +0200 Subject: scratchpad: lower on unscratch --- scratchpad.lua | 2 ++ 1 file changed, 2 insertions(+) (limited to 'scratchpad.lua') diff --git a/scratchpad.lua b/scratchpad.lua index 3106b14..47576d3 100644 --- a/scratchpad.lua +++ b/scratchpad.lua @@ -94,9 +94,11 @@ function set(c, width, height, sticky, screen) if oc == c then -- If it matches then unscratch and clear the table awful.client.floating.toggle(oc); oc.sticky = false + oc.ontop = false; oc.above = false scratch["pad"][screen] = nil else -- If they don't match, unscratch and replace it oc.hidden = false; oc.sticky = false + oc.ontop = false; oc.above = false awful.client.floating.toggle(oc) scratch["pad"][screen] = c setscratch(c) -- cgit v1.2.3