From: Daniel Déchelotte <[email protected]>
If btn->omnipresent, then btn->dock is precisely
scr->workspaces[scr->current_workspace]->clip (cf.
wWorkspaceForceChange() calling wClipUpdateForWorkspaceChange())
---
src/dock.c | 5 +----
1 file changed, 1 insertion(+), 4 deletions(-)
diff --git a/src/dock.c b/src/dock.c
index 21d6aee..6b6c184 100644
--- a/src/dock.c
+++ b/src/dock.c
@@ -3796,10 +3796,7 @@ static void clipEnterNotify(WObjDescriptor *desc, XEvent
*event)
return;
scr = btn->icon->core->screen_ptr;
- if (!btn->omnipresent)
- dock = btn->dock;
- else
- dock = scr->workspaces[scr->current_workspace]->clip;
+ dock = btn->dock;
if (!dock || dock->type != WM_CLIP)
return;
--
1.7.10.4
--
To unsubscribe, send mail to [email protected].