1
0
mirror of https://github.com/gryf/wmaker.git synced 2025-12-22 14:08:06 +01:00

force_paint removed

The WIcon variable force_paint can be removed, because now is possible
update the icon directly in the function wAppIconPaint.

Now wAppIconPaint creates the RImage file if needed, and then paint it.
This commit is contained in:
Rodolfo García Peñas (kix)
2012-11-10 20:25:12 +01:00
committed by Carlos R. Mafra
parent 33ebded4f9
commit e192302bd7
3 changed files with 11 additions and 21 deletions

View File

@@ -381,7 +381,7 @@ void wAppIconPaint(WAppIcon *aicon, Bool update_icon)
wapp = NULL;
if (update_icon)
aicon->icon->force_paint = 1;
wIconUpdate(aicon->icon);
wIconPaint(aicon->icon);