mirror of
https://github.com/gryf/wmaker.git
synced 2026-02-11 19:25:49 +01:00
Fixed a bug in Clip's omnipresent icons code.
This commit is contained in:
@@ -4219,7 +4219,7 @@ wClipMakeIconOmnipresent(WAppIcon *aicon, int omnipresent)
|
|||||||
WAppIconChain *new_entry, *tmp, *tmp1;
|
WAppIconChain *new_entry, *tmp, *tmp1;
|
||||||
int status = WO_SUCCESS;
|
int status = WO_SUCCESS;
|
||||||
|
|
||||||
if (aicon->dock == scr->dock)
|
if (aicon->dock == scr->dock || aicon == scr->clip_icon)
|
||||||
return WO_NOT_APPLICABLE;
|
return WO_NOT_APPLICABLE;
|
||||||
|
|
||||||
if (aicon->omnipresent == omnipresent)
|
if (aicon->omnipresent == omnipresent)
|
||||||
|
|||||||
Reference in New Issue
Block a user