diff src/device-x.c @ 5239:f19e6bc25969

Backed out changeset 6466bc9ebf15 This would leave all but the first frame blank.
author Mike Sperber <sperber@deinprogramm.de>
date Tue, 13 Jul 2010 10:19:33 +0200
parents 6466bc9ebf15
children 39304a35b6b3 308d34e9f07d
line wrap: on
line diff
--- a/src/device-x.c	Wed Jun 23 08:04:18 2010 -0400
+++ b/src/device-x.c	Tue Jul 13 10:19:33 2010 +0200
@@ -946,18 +946,6 @@
   int checking_free;
 #endif
 
-#ifdef HAVE_XFT
-  /* If we have an XftDraw structure, we need to free it here.
-     We can't ever have an XftDraw without a Display, so we are safe
-     to free it in here, and we avoid too much playing around with the 
-     malloc checking hooks this way. */
-  if (DEVICE_X_XFTDRAW (d)) 
-    {
-      XftDrawDestroy (DEVICE_X_XFTDRAW (d));
-      DEVICE_X_XFTDRAW (d) = NULL;
-    }
-#endif
-
   display = DEVICE_X_DISPLAY (d);
 
   if (display)