changeset 106752:06b47f571086

xterm.c (x_clear_frame): Queue draw for scroll bars.
author Jan D. <jan.h.d@swipnet.se>
date Wed, 06 Jan 2010 16:57:43 +0100
parents d94786c1fa6c (current diff) fa4743217572 (diff)
children 16b52378e95a b6846b19b0db
files
diffstat 2 files changed, 10 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/ChangeLog	Wed Jan 06 07:11:52 2010 -0800
+++ b/src/ChangeLog	Wed Jan 06 16:57:43 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 07:11:52 2010 -0800
+++ b/src/xterm.c	Wed Jan 06 16:57:43 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;