aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJan Djärv <[email protected]>2010-01-06 16:57:43 +0100
committerJan Djärv <[email protected]>2010-01-06 16:57:43 +0100
commit4f6fc2522762546ef55e4769863a31afc068756c (patch)
tree254d09ce11d3c5aacc5e3425f584d1b0ffcb84ba
parent7534fa5ed2ebbab8efee55bbacf0ba57f754ff6e (diff)
parentc0e6d47dc5e349881973bd9f9e64815c33c6a4f7 (diff)
xterm.c (x_clear_frame): Queue draw for scroll bars.
-rw-r--r--src/ChangeLog4
-rw-r--r--src/xterm.c6
2 files changed, 10 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index afa404ca7c..131abcb9f9 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,7 @@
+2010-01-06 Jan Djärv <[email protected]>
+
+ * xterm.c (x_clear_frame): Queue draw for scroll bars.
+
2010-01-05 Jan Djärv <[email protected]>
* xterm.c (x_new_font): Move code for setting rows/cols before
diff --git a/src/xterm.c b/src/xterm.c
index 9c2e660cff..efd30f4a60 100644
--- a/src/xterm.c
+++ b/src/xterm.c
@@ -2951,6 +2951,12 @@ x_clear_frame (struct frame *f)
colors or something like that, then they should be notified. */
x_scroll_bar_clear (f);
+#if defined (USE_GTK) && defined (USE_TOOLKIT_SCROLL_BARS)
+ /* Make sure scroll bars are redrawn. As they aren't redrawn by
+ redisplay, do it here. */
+ gtk_widget_queue_draw (FRAME_GTK_WIDGET (f));
+#endif
+
XFlush (FRAME_X_DISPLAY (f));
UNBLOCK_INPUT;