diff options
author | Adrian C. (anrxc) <anrxc@sysphere.org> | 2009-09-17 13:38:02 +0200 |
---|---|---|
committer | Adrian C. (anrxc) <anrxc@sysphere.org> | 2009-09-17 13:38:02 +0200 |
commit | 192d2ab44c0bc0cbad801a6c43a64665a32bf166 (patch) | |
tree | 3501614b0cd4c8e7312bcea08c813556fc54ecb1 | |
parent | bb2c31b0dcdf1f162ecf985aaa09087b7fe1514a (diff) | |
download | awesome-configs-192d2ab44c0bc0cbad801a6c43a64665a32bf166.tar.xz |
scratchpad: unstick on unscratch
-rw-r--r-- | scratchpad.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scratchpad.lua b/scratchpad.lua index 549d69c..685dfdc 100644 --- a/scratchpad.lua +++ b/scratchpad.lua @@ -85,10 +85,10 @@ function set(c, width, height, sticky, screen) -- compare it with the focused client if oc == c then -- If it matches then unscratch and clear the table - awful.client.floating.toggle(oc) + awful.client.floating.toggle(oc); oc.sticky = false scratch["pad"][screen] = nil else -- If they don't match, unscratch and replace it - oc.hidden = false + oc.hidden = false; oc.sticky = false awful.client.floating.toggle(oc) scratch["pad"][screen] = c setscratch(c) |