Mercurial > hg > xemacs-beta
comparison src/frame-msw.c @ 215:1f0dabaa0855 r20-4b6
Import from CVS: tag r20-4b6
author | cvs |
---|---|
date | Mon, 13 Aug 2007 10:07:35 +0200 |
parents | 78f53ef88e17 |
children | 262b8bb4a523 |
comparison
equal
deleted
inserted
replaced
214:c5d88c05e1e9 | 215:1f0dabaa0855 |
---|---|
66 | 66 |
67 /* XXX FIXME: This function should be made to do something */ | 67 /* XXX FIXME: This function should be made to do something */ |
68 update_frame_face_values (f); | 68 update_frame_face_values (f); |
69 } | 69 } |
70 | 70 |
71 /* Called just before frame's properties are set */ | 71 /* Called just before frame's properties are set, size is 10x10 or something */ |
72 static void | 72 static void |
73 mswindows_init_frame_2 (struct frame *f, Lisp_Object props) | 73 mswindows_init_frame_2 (struct frame *f, Lisp_Object props) |
74 { | 74 { |
75 int x, y; | |
76 Lisp_Object frame, window; | |
77 | |
78 XSETFRAME (frame, f); | |
79 default_face_height_and_width (frame, &x, &y); | |
80 FRAME_PIXWIDTH(f) = x * FRAME_WIDTH(f); | |
81 FRAME_PIXHEIGHT(f) = y * FRAME_HEIGHT(f); | |
75 } | 82 } |
76 | 83 |
77 /* Called after frame's properties are set */ | 84 /* Called after frame's properties are set */ |
78 static void | 85 static void |
79 mswindows_init_frame_3 (struct frame *f) | 86 mswindows_init_frame_3 (struct frame *f) |