Rodolfo García Peñas (kix)
25d083a85f
Removed extra XClearWindow call
...
The function XClearWindow() is called twice, we can remove one.
See the asterisks (**):
Before the call to wIconPaint():
-----------------8<--------------------------
+++ b/src/icon.c
@@ -621,7 +621,6 @@ void update_icon_pixmap(WIcon *icon)
XSetWindowBackgroundPixmap(dpy, icon->core->window, icon->pixmap);
/* Paint it */
** XClearWindow(dpy, icon->core->window);
wIconPaint(icon);
}
-----------------8<--------------------------
First call in wIconPaint() function:
-----------------8<--------------------------
void wIconPaint(WIcon *icon)
{
WScreen *scr = icon->core->screen_ptr;
int x, l, w;
char *tmp;
** XClearWindow(dpy, icon->core->window);
-----------------8<--------------------------
2013-03-21 10:01:04 +00:00
..
2012-11-17 20:32:10 +01:00
2012-06-26 16:56:20 +01:00
2013-01-22 21:46:39 +00:00
2013-01-22 21:46:39 +00:00
2013-01-22 21:46:39 +00:00
2012-06-18 22:25:57 +01:00
2012-05-07 20:45:13 -03:00
2010-10-08 18:13:56 +02:00
2012-05-04 18:41:01 -03:00
2010-10-08 18:13:56 +02:00
2012-12-18 18:20:52 +00:00
2010-10-08 18:13:56 +02:00
2012-06-25 23:49:10 +01:00
2012-06-25 23:49:10 +01:00
2012-11-28 00:07:13 +01:00
2010-09-11 17:32:57 +02:00
2013-01-12 14:45:29 +00:00
2012-11-10 19:49:13 +00:00
2012-11-10 19:42:24 +00:00
2012-02-19 10:05:31 +00:00
2012-11-28 00:12:59 +01:00
2013-03-21 10:01:04 +00:00
2012-11-11 11:59:41 +00:00
2012-06-23 12:09:41 +01:00
2013-01-12 14:37:31 +00:00
2010-09-11 17:32:57 +02:00
2013-03-21 10:01:04 +00:00
2012-08-25 11:00:01 +01:00
2013-01-12 14:37:31 +00:00
2009-08-20 00:59:40 +02:00
2004-10-12 21:28:27 +00:00
2010-10-08 18:13:56 +02:00
2013-03-21 10:01:04 +00:00
2013-01-22 21:46:39 +00:00
2012-04-04 12:12:12 +01:00
2013-01-12 14:37:31 +00:00
2012-06-24 12:32:36 +01:00
2013-01-03 23:27:31 +00:00
2012-08-22 00:24:41 +01:00
2010-10-08 18:13:56 +02:00
2012-07-14 20:22:21 +02:00
2012-06-24 12:32:36 +01:00
2010-10-08 18:13:56 +02:00
2010-10-08 18:13:56 +02:00
2012-11-24 11:07:32 +01:00
2012-04-30 14:50:17 -03:00
2010-03-26 21:08:17 +01:00
2010-03-27 10:31:13 +01:00
2010-10-07 12:04:30 +02:00
2012-05-04 18:41:01 -03:00
2010-10-08 18:13:56 +02:00
2013-01-22 11:55:06 +00:00
2012-04-04 19:44:40 +01:00
2012-04-04 19:44:40 +01:00
2010-10-08 18:13:56 +02:00
2010-10-08 18:13:56 +02:00
2013-02-10 11:24:47 +00:00
2012-06-24 12:30:17 +01:00
2013-01-12 13:10:29 +00:00
2013-01-12 13:10:29 +00:00
2013-03-21 09:44:16 +00:00
2012-06-26 10:49:05 +01:00
2013-01-12 14:37:31 +00:00
2013-01-12 14:37:31 +00:00
2010-10-08 18:13:56 +02:00
2012-11-19 00:12:46 +01:00
2013-01-12 13:10:29 +00:00
2012-06-23 11:25:37 +01:00
2012-06-23 11:25:37 +01:00
2012-11-11 12:00:59 +00:00
2012-11-28 00:07:13 +01:00
2012-11-28 00:07:13 +01:00
2012-05-04 18:41:01 -03:00
2010-10-08 18:13:56 +02:00
2012-06-03 18:00:38 +01:00
2010-10-08 18:13:56 +02:00
2013-01-07 21:19:40 +00:00
2013-03-21 10:01:04 +00:00
2013-03-21 10:01:04 +00:00
2012-11-14 22:49:42 +00:00
2011-02-17 19:29:15 +01:00
2013-01-12 14:45:29 +00:00
2012-11-11 12:00:59 +00:00
2013-01-12 14:37:31 +00:00
2012-06-24 12:32:36 +01:00
2013-01-26 18:19:01 +00:00
2010-10-08 18:13:56 +02:00
2012-11-17 20:38:36 +01:00
2012-11-04 00:35:36 +00:00
2013-03-21 10:01:04 +00:00
2012-04-15 23:15:20 -03:00
2012-04-04 19:44:40 +01:00
2012-04-04 19:44:40 +01:00
2012-10-30 15:26:52 +00:00
2012-10-30 15:26:52 +00:00
2012-06-24 12:30:51 +01:00
2010-10-08 18:13:56 +02:00
2013-01-07 21:19:40 +00:00
1998-09-29 22:36:29 +00:00