diff --git a/src/icon.c b/src/icon.c index 9aa18c7f..2980db8e 100644 --- a/src/icon.c +++ b/src/icon.c @@ -554,8 +554,7 @@ void wIconSetHighlited(WIcon *icon, Bool flag) return; icon->highlighted = flag; - icon->force_paint = True; - wIconPaint(icon); + update_icon_pixmap(icon); } #endif