From 7d1e984f8fdbfa9bcb1fa279969d98308d587f10 Mon Sep 17 00:00:00 2001 From: Gerd Moellmann Date: Sat, 21 Aug 1999 19:31:13 +0000 Subject: [PATCH] Call change_frame_size and do_pending_window_change with new parameter. (x_scroll_bar_create) [USE_TOOLKIT_SCROLL_BARS]: Clear under scroll bar widget. --- src/xterm.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/xterm.c b/src/xterm.c index ac945e144b5..d73e57b5ad8 100644 --- a/src/xterm.c +++ b/src/xterm.c @@ -7704,6 +7704,10 @@ x_scroll_bar_create (w, top, left, width, height) /* Map the window/widget. */ #if USE_TOOLKIT_SCROLL_BARS + XClearArea (FRAME_X_DISPLAY (f), FRAME_X_WINDOW (f), + left, top, + FRAME_SCROLL_BAR_COLS (f) * CANON_X_UNIT (f), + window_box_height (w), False); XtMapWidget (SCROLL_BAR_X_WIDGET (bar)); XtConfigureWidget (SCROLL_BAR_X_WIDGET (bar), left + VERTICAL_SCROLL_BAR_WIDTH_TRIM, @@ -9421,7 +9425,7 @@ XTread_socket (sd, bufp, numchars, expected) || event.xconfigure.width != f->output_data.x->pixel_width || event.xconfigure.height != f->output_data.x->pixel_height) { - change_frame_size (f, rows, columns, 0, 1); + change_frame_size (f, rows, columns, 0, 1, 0); SET_FRAME_GARBAGED (f); cancel_mouse_face (f); } @@ -10836,7 +10840,7 @@ x_set_window_size (f, change_gravity, cols, rows) We pass 1 for DELAY since we can't run Lisp code inside of a BLOCK_INPUT. */ - change_frame_size (f, rows, cols, 0, 1); + change_frame_size (f, rows, cols, 0, 1, 0); PIXEL_WIDTH (f) = pixelwidth; PIXEL_HEIGHT (f) = pixelheight; -- 2.39.5