1
0
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:
Rodolfo García Peñas (kix)
2013-10-08 00:56:39 +02:00
committed by Carlos R. Mafra
parent 29ac626494
commit 2103fe390b
8 changed files with 35 additions and 35 deletions

View File

@@ -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);