1
0
mirror of https://github.com/gryf/wmaker.git synced 2025-12-20 12:58:08 +01:00

Deleted useless test

If btn->omnipresent, then btn->dock is precisely
scr->workspaces[scr->current_workspace]->clip (cf.
wWorkspaceForceChange() calling wClipUpdateForWorkspaceChange())
This commit is contained in:
Daniel Déchelotte
2013-04-12 01:42:27 +02:00
committed by Carlos R. Mafra
parent 4222204abc
commit dfe7e255b2

View File

@@ -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;
if (!dock || dock->type != WM_CLIP)
return;