From: "Rodolfo García Peñas (kix)" <[email protected]>
The function wIconSetHighlited() is now faster, because don't
re-create the icon before set the Highlited status. Now only
draw the icon pixmap.
---
src/icon.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/src/icon.c b/src/icon.c
index fe52a09..ff29484 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
--
1.7.10.4
--
To unsubscribe, send mail to [email protected].