Mercurial > hg > xemacs-beta
diff src/frame-msw.c @ 225:12579d965149 r20-4b11
Import from CVS: tag r20-4b11
author | cvs |
---|---|
date | Mon, 13 Aug 2007 10:11:40 +0200 |
parents | 2c611d1463a6 |
children | 557eaa0339bf |
line wrap: on
line diff
--- a/src/frame-msw.c Mon Aug 13 10:10:55 2007 +0200 +++ b/src/frame-msw.c Mon Aug 13 10:11:40 2007 +0200 @@ -76,6 +76,12 @@ top = Fplist_get (props, Qtop, Qnil); left = Fplist_get (props, Qleft, Qnil); + /* These shouldn't be here, but the window is created too early. + The initialization of scrollbar resources is done between + init_frame_1 and init_frame_2 in make_frame. jsparkes */ + f->scrollbar_width = make_int (15); + f->scrollbar_height = make_int (15); + f->frame_data = xnew_and_zero (struct mswindows_frame); FRAME_WIDTH (f) = INTP(width) ? XINT(width) : 80; FRAME_HEIGHT (f) = INTP(height) ? XINT(height) : 30; @@ -162,7 +168,6 @@ rect2.right-rect2.left, rect2.bottom-rect2.top, TRUE); } - static void mswindows_set_frame_position (struct frame *f, int xoff, int yoff) {