[Xfce4-commits] r24143 - xfwm4/trunk/src

Olivier Fourdan olivier at xfce.org
Tue Dec 19 23:04:30 CET 2006


Author: olivier
Date: 2006-12-19 22:04:30 +0000 (Tue, 19 Dec 2006)
New Revision: 24143

Modified:
   xfwm4/trunk/src/client.c
Log:
No need to redraw if not visible

Modified: xfwm4/trunk/src/client.c
===================================================================
--- xfwm4/trunk/src/client.c	2006-12-19 21:54:02 UTC (rev 24142)
+++ xfwm4/trunk/src/client.c	2006-12-19 22:04:30 UTC (rev 24143)
@@ -1566,7 +1566,10 @@
     g_return_val_if_fail (c, FALSE);
 
     clientUpdateIconPix (c);
-    frameDraw (c, FALSE);
+    if (FLAG_TEST (c->xfwm_flags, XFWM_FLAG_VISIBLE))
+    {
+        frameDraw (c, FALSE);
+    }
     c->icon_timeout_id = 0;
 
     return FALSE;



More information about the Xfce4-commits mailing list