summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdrian C. (anrxc) <anrxc@sysphere.org>2009-09-30 21:08:32 +0200
committerAdrian C. (anrxc) <anrxc@sysphere.org>2009-09-30 21:08:32 +0200
commit2d8c1e06d3fc042e49af0b6b599b9322a295f82a (patch)
tree61de408199cd2ae81b2a8f914f17049be1e57065
parent40261b931d607d09e6524e956a0bbb54ebf5dbac (diff)
downloadawesome-configs-2d8c1e06d3fc042e49af0b6b599b9322a295f82a.tar.xz
scratchpad: lower on unscratch
-rw-r--r--scratchpad.lua2
1 files changed, 2 insertions, 0 deletions
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)