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;
|
return;
|
||||||
|
|
||||||
scr = btn->icon->core->screen_ptr;
|
scr = btn->icon->core->screen_ptr;
|
||||||
if (!btn->omnipresent)
|
dock = btn->dock;
|
||||||
dock = btn->dock;
|
|
||||||
else
|
|
||||||
dock = scr->workspaces[scr->current_workspace]->clip;
|
|
||||||
|
|
||||||
if (!dock || dock->type != WM_CLIP)
|
if (!dock || dock->type != WM_CLIP)
|
||||||
return;
|
return;
|
||||||
|
|||||||
Reference in New Issue
Block a user