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:
committed by
Carlos R. Mafra
parent
4222204abc
commit
dfe7e255b2
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user