From: Daniel Déchelotte <[email protected]>

---
 src/dock.c |    2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/dock.c b/src/dock.c
index 21d6aee..f9da29f 100644
--- a/src/dock.c
+++ b/src/dock.c
@@ -3796,6 +3796,8 @@ static void clipEnterNotify(WObjDescriptor *desc, XEvent 
*event)
                return;
 
        scr = btn->icon->core->screen_ptr;
+       /* Useless test: if btn->omnipresent, then btn->dock is
+          precisely scr->workspaces[scr->current_workspace]->clip */
        if (!btn->omnipresent)
                dock = btn->dock;
        else
-- 
1.7.10.4


-- 
To unsubscribe, send mail to [email protected].

Reply via email to