From 192d2ab44c0bc0cbad801a6c43a64665a32bf166 Mon Sep 17 00:00:00 2001 From: "Adrian C. (anrxc)" Date: Thu, 17 Sep 2009 13:38:02 +0200 Subject: scratchpad: unstick on unscratch --- scratchpad.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'scratchpad.lua') 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) -- cgit v1.2.3