From: Jan Djärv Date: Wed, 6 Jan 2010 15:55:00 +0000 (+0100) Subject: xterm.c (x_clear_frame): Queue draw for scroll bars. X-Git-Tag: emacs-pretest-23.1.92~81 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=c0e6d47dc5e349881973bd9f9e64815c33c6a4f7;p=emacs.git xterm.c (x_clear_frame): Queue draw for scroll bars. --- diff --git a/src/ChangeLog b/src/ChangeLog index afa404ca7c1..131abcb9f96 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,7 @@ +2010-01-06 Jan Djärv + + * xterm.c (x_clear_frame): Queue draw for scroll bars. + 2010-01-05 Jan Djärv * xterm.c (x_new_font): Move code for setting rows/cols before diff --git a/src/xterm.c b/src/xterm.c index 9c2e660cff8..efd30f4a601 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;