diff src/redisplay-xlike-inc.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 308d34e9f07d
line wrap: on
line diff
--- a/src/redisplay-xlike-inc.c	Wed Jun 23 08:04:18 2010 -0400
+++ b/src/redisplay-xlike-inc.c	Tue Jul 13 10:19:33 2010 +0200
@@ -1028,10 +1028,10 @@
   XftDraw *xftDraw;
 
   /* Lazily initialize frame's xftDraw member. */
-  if (!DEVICE_X_XFTDRAW (d)) {
-    DEVICE_X_XFTDRAW (d) = XftDrawCreate (dpy, x_win, visual, cmap);
+  if (!FRAME_X_XFTDRAW (f)) {
+    FRAME_X_XFTDRAW (f) = XftDrawCreate (dpy, x_win, visual, cmap);
   }
-  xftDraw = DEVICE_X_XFTDRAW (d);
+  xftDraw = FRAME_X_XFTDRAW (f);
 
   /* #### This will probably cause asserts when passed a Lisp integer for a
      color.  See ca. line 759 this file.