changeset 107139:f257bf772280

xterm.c (x_clear_frame_area): Cal gtk_widget_queue_draw if USE_GTK, bug #5571.
author Jan D. <jan.h.d@swipnet.se>
date Sat, 13 Feb 2010 13:54:50 +0100
parents 57518784c193
children 0c8d4cc6d8b6 b5f6df970d0f
files src/ChangeLog src/xterm.c
diffstat 2 files changed, 10 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/ChangeLog	Sat Feb 13 13:30:17 2010 +0100
+++ b/src/ChangeLog	Sat Feb 13 13:54:50 2010 +0100
@@ -1,3 +1,8 @@
+2010-02-13  Jan Djärv  <jan.h.d@swipnet.se>
+
+	* xterm.c (x_clear_frame_area): Cal gtk_widget_queue_draw if USE_GTK,
+	bug #5571.
+
 2010-02-10  Jan Djärv  <jan.h.d@swipnet.se>
 
 	* xsmfns.c (x_session_initialize): Move initialization of ice_fd and
--- a/src/xterm.c	Sat Feb 13 13:30:17 2010 +0100
+++ b/src/xterm.c	Sat Feb 13 13:54:50 2010 +0100
@@ -7446,6 +7446,11 @@
 {
   x_clear_area (FRAME_X_DISPLAY (f), FRAME_X_WINDOW (f),
 		x, y, width, height, False);
+#ifdef USE_GTK
+  /* Must queue a redraw, because scroll bars might have been cleared.  */
+  if (FRAME_GTK_WIDGET (f))
+    gtk_widget_queue_draw (FRAME_GTK_WIDGET (f));
+#endif
 }