mirror of
https://github.com/gryf/wmaker.git
synced 2025-12-28 01:12:30 +01:00
Variable clip_icon moved to clip object in the global namespace
The variable clip_icon, that contains the Clip appicon is moved to the global clip properties. Now the screen is not needed to know the clip_icon.
This commit is contained in:
committed by
Carlos R. Mafra
parent
29ac626494
commit
2103fe390b
@@ -177,7 +177,7 @@ static void panelBtnCallback(WMWidget * self, void *data)
|
||||
WAppIcon *aicon = panel->editedIcon;
|
||||
|
||||
// Cf dock.c:dockIconPaint(WAppIcon *aicon)?
|
||||
if (aicon == aicon->icon->core->screen_ptr->clip_icon)
|
||||
if (aicon == w_global.clip.icon)
|
||||
wClipIconPaint(aicon);
|
||||
else if (wIsADrawer(aicon))
|
||||
wDrawerIconPaint(aicon);
|
||||
|
||||
Reference in New Issue
Block a user