changeset 106749:fa4743217572

xterm.c (x_clear_frame): Queue draw for scroll bars.
author Jan D. <jan.h.d@swipnet.se>
date Wed, 06 Jan 2010 16:55:00 +0100
parents f99663857782
children 10b9609fb6b7 06b47f571086
files src/ChangeLog src/xterm.c
diffstat 2 files changed, 10 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/ChangeLog	Wed Jan 06 15:33:57 2010 +0100
+++ b/src/ChangeLog	Wed Jan 06 16:55:00 2010 +0100
@@ -1,3 +1,7 @@
+2010-01-06  Jan Djärv  <jan.h.d@swipnet.se>
+
+	* xterm.c (x_clear_frame): Queue draw for scroll bars.
+
 2010-01-05  Jan Djärv  <jan.h.d@swipnet.se>
 
 	* xterm.c (x_new_font): Move code for setting rows/cols before
--- a/src/xterm.c	Wed Jan 06 15:33:57 2010 +0100
+++ b/src/xterm.c	Wed Jan 06 16:55:00 2010 +0100
@@ -2951,6 +2951,12 @@
      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;