comparison src/redisplay-x.c @ 163:0132846995bd r20-3b8

Import from CVS: tag r20-3b8
author cvs
date Mon, 13 Aug 2007 09:43:35 +0200
parents 9f59509498e1
children 5a88923fcbfe
comparison
equal deleted inserted replaced
162:4de2936b4e77 163:0132846995bd
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
2218 XtVaGetValues (shell, XtNwidth, &width, XtNheight, &height, 0); 2218 XtVaGetValues (shell, XtNwidth, &width, XtNheight, &height, NULL);
2219 XSETFRAME (frame, f); 2219 XSETFRAME (frame, f);
2220 2220
2221 tmp_pixel = FACE_FOREGROUND (Vdefault_face, frame); 2221 tmp_pixel = FACE_FOREGROUND (Vdefault_face, frame);
2222 tmp_fcolor = COLOR_INSTANCE_X_COLOR (XCOLOR_INSTANCE (tmp_pixel)); 2222 tmp_fcolor = COLOR_INSTANCE_X_COLOR (XCOLOR_INSTANCE (tmp_pixel));
2223 tmp_pixel = FACE_BACKGROUND (Vdefault_face, frame); 2223 tmp_pixel = FACE_BACKGROUND (Vdefault_face, frame);