aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/xterm.c8
1 files 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)
7704 7704
7705 /* Map the window/widget. */ 7705 /* Map the window/widget. */
7706#if USE_TOOLKIT_SCROLL_BARS 7706#if USE_TOOLKIT_SCROLL_BARS
7707 XClearArea (FRAME_X_DISPLAY (f), FRAME_X_WINDOW (f),
7708 left, top,
7709 FRAME_SCROLL_BAR_COLS (f) * CANON_X_UNIT (f),
7710 window_box_height (w), False);
7707 XtMapWidget (SCROLL_BAR_X_WIDGET (bar)); 7711 XtMapWidget (SCROLL_BAR_X_WIDGET (bar));
7708 XtConfigureWidget (SCROLL_BAR_X_WIDGET (bar), 7712 XtConfigureWidget (SCROLL_BAR_X_WIDGET (bar),
7709 left + VERTICAL_SCROLL_BAR_WIDTH_TRIM, 7713 left + VERTICAL_SCROLL_BAR_WIDTH_TRIM,
@@ -9421,7 +9425,7 @@ XTread_socket (sd, bufp, numchars, expected)
9421 || event.xconfigure.width != f->output_data.x->pixel_width 9425 || event.xconfigure.width != f->output_data.x->pixel_width
9422 || event.xconfigure.height != f->output_data.x->pixel_height) 9426 || event.xconfigure.height != f->output_data.x->pixel_height)
9423 { 9427 {
9424 change_frame_size (f, rows, columns, 0, 1); 9428 change_frame_size (f, rows, columns, 0, 1, 0);
9425 SET_FRAME_GARBAGED (f); 9429 SET_FRAME_GARBAGED (f);
9426 cancel_mouse_face (f); 9430 cancel_mouse_face (f);
9427 } 9431 }
@@ -10836,7 +10840,7 @@ x_set_window_size (f, change_gravity, cols, rows)
10836 10840
10837 We pass 1 for DELAY since we can't run Lisp code inside of 10841 We pass 1 for DELAY since we can't run Lisp code inside of
10838 a BLOCK_INPUT. */ 10842 a BLOCK_INPUT. */
10839 change_frame_size (f, rows, cols, 0, 1); 10843 change_frame_size (f, rows, cols, 0, 1, 0);
10840 PIXEL_WIDTH (f) = pixelwidth; 10844 PIXEL_WIDTH (f) = pixelwidth;
10841 PIXEL_HEIGHT (f) = pixelheight; 10845 PIXEL_HEIGHT (f) = pixelheight;
10842 10846