comparison 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
comparison
equal deleted inserted replaced
5237:6466bc9ebf15 5239:f19e6bc25969
1026 Visual *visual = DEVICE_X_VISUAL (d); 1026 Visual *visual = DEVICE_X_VISUAL (d);
1027 static XftColor fg, bg; 1027 static XftColor fg, bg;
1028 XftDraw *xftDraw; 1028 XftDraw *xftDraw;
1029 1029
1030 /* Lazily initialize frame's xftDraw member. */ 1030 /* Lazily initialize frame's xftDraw member. */
1031 if (!DEVICE_X_XFTDRAW (d)) { 1031 if (!FRAME_X_XFTDRAW (f)) {
1032 DEVICE_X_XFTDRAW (d) = XftDrawCreate (dpy, x_win, visual, cmap); 1032 FRAME_X_XFTDRAW (f) = XftDrawCreate (dpy, x_win, visual, cmap);
1033 } 1033 }
1034 xftDraw = DEVICE_X_XFTDRAW (d); 1034 xftDraw = FRAME_X_XFTDRAW (f);
1035 1035
1036 /* #### This will probably cause asserts when passed a Lisp integer for a 1036 /* #### This will probably cause asserts when passed a Lisp integer for a
1037 color. See ca. line 759 this file. 1037 color. See ca. line 759 this file.
1038 #### Maybe xft_convert_color should take an XColor, not a pixel. */ 1038 #### Maybe xft_convert_color should take an XColor, not a pixel. */
1039 #define XFT_FROB_LISP_COLOR(color, dim) \ 1039 #define XFT_FROB_LISP_COLOR(color, dim) \