comparison src/frame-msw.c @ 221:6c0ae1f9357f r20-4b9

Import from CVS: tag r20-4b9
author cvs
date Mon, 13 Aug 2007 10:10:02 +0200
parents 262b8bb4a523
children 2c611d1463a6
comparison
equal deleted inserted replaced
220:04f4bca7b601 221:6c0ae1f9357f
67 67
68 /* Called just before frame's properties are set, size is 10x10 or something */ 68 /* Called just before frame's properties are set, size is 10x10 or something */
69 static void 69 static void
70 mswindows_init_frame_2 (struct frame *f, Lisp_Object props) 70 mswindows_init_frame_2 (struct frame *f, Lisp_Object props)
71 { 71 {
72 int x, y;
73 Lisp_Object frame, window;
74
75 XSETFRAME (frame, f);
76 default_face_height_and_width (frame, &x, &y);
77 FRAME_PIXWIDTH(f) = x * FRAME_WIDTH(f);
78 FRAME_PIXHEIGHT(f) = y * FRAME_HEIGHT(f);
79 } 72 }
80 73
81 /* Called after frame's properties are set */ 74 /* Called after frame's properties are set */
82 static void 75 static void
83 mswindows_init_frame_3 (struct frame *f) 76 mswindows_init_frame_3 (struct frame *f)