summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/xfns.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/xfns.c b/src/xfns.c
index 76ad6f2412f..d73c20c20c2 100644
--- a/src/xfns.c
+++ b/src/xfns.c
@@ -1988,6 +1988,7 @@ x_set_scroll_bar_width (f, arg, oldval)
}
change_frame_size (f, 0, FRAME_WIDTH (f), 0, 0);
+ FRAME_CURSOR_X (f) = FRAME_LEFT_SCROLL_BAR_WIDTH (f);
}
/* Subroutines of creating an X frame. */