comparison src/redisplay-x.c @ 165:5a88923fcbfe r20-3b9

Import from CVS: tag r20-3b9
author cvs
date Mon, 13 Aug 2007 09:44:42 +0200
parents 0132846995bd
children 8eaf7971accc
comparison
equal deleted inserted replaced
164:4e0740e5aab2 165:5a88923fcbfe
2212 XColor tmp_fcolor, tmp_bcolor; 2212 XColor tmp_fcolor, tmp_bcolor;
2213 Lisp_Object tmp_pixel, frame; 2213 Lisp_Object tmp_pixel, frame;
2214 struct frame *f = device_selected_frame (d); 2214 struct frame *f = device_selected_frame (d);
2215 Widget shell = FRAME_X_SHELL_WIDGET (f); 2215 Widget shell = FRAME_X_SHELL_WIDGET (f);
2216 Dimension width, height; 2216 Dimension width, height;
2217 2217 Arg al [2];
2218 XtVaGetValues (shell, XtNwidth, &width, XtNheight, &height, NULL); 2218
2219 XtSetArg (al [0], XtNwidth, &width);
2220 XtSetArg (al [1], XtNheight, &height);
2221 XtGetValues (shell, al, 2);
2222
2219 XSETFRAME (frame, f); 2223 XSETFRAME (frame, f);
2220 2224
2221 tmp_pixel = FACE_FOREGROUND (Vdefault_face, frame); 2225 tmp_pixel = FACE_FOREGROUND (Vdefault_face, frame);
2222 tmp_fcolor = COLOR_INSTANCE_X_COLOR (XCOLOR_INSTANCE (tmp_pixel)); 2226 tmp_fcolor = COLOR_INSTANCE_X_COLOR (XCOLOR_INSTANCE (tmp_pixel));
2223 tmp_pixel = FACE_BACKGROUND (Vdefault_face, frame); 2227 tmp_pixel = FACE_BACKGROUND (Vdefault_face, frame);