This patch seems to help.
From 1170df36a4d7d2f04589b4abd2561746db1e05a2 Mon Sep 17 00:00:00 2001
From: koniu <[email protected]>
Date: Thu, 28 May 2009 05:30:34 +0100
Subject: [PATCH] wibox: run hook before detaching

Signed-off-by: koniu <[email protected]>
---
 wibox.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/wibox.c b/wibox.c
index d490a77..53329f7 100644
--- a/wibox.c
+++ b/wibox.c
@@ -389,10 +389,10 @@ wibox_detach(wibox_t *wibox)
                 break;
             }
 
-        wibox->screen = NULL;
-
         hook_property(wibox, wibox, "screen");
 
+        wibox->screen = NULL;
+
         wibox_unref(globalconf.L, wibox);
     }
 }
-- 
1.6.3.1

Reply via email to