From: Jan Djärv Date: Sat, 13 Feb 2010 12:54:50 +0000 (+0100) Subject: xterm.c (x_clear_frame_area): Cal gtk_widget_queue_draw if USE_GTK, X-Git-Tag: emacs-pretest-23.1.93~66 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=98599f74d03c2dd4b6ac90d68266c508c5e0342e;p=emacs.git xterm.c (x_clear_frame_area): Cal gtk_widget_queue_draw if USE_GTK, bug #5571. --- diff --git a/src/ChangeLog b/src/ChangeLog index 347a6f886b4..a48194a90aa 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,8 @@ +2010-02-13 Jan Djärv + + * xterm.c (x_clear_frame_area): Cal gtk_widget_queue_draw if USE_GTK, + bug #5571. + 2010-02-10 Jan Djärv * xsmfns.c (x_session_initialize): Move initialization of ice_fd and diff --git a/src/xterm.c b/src/xterm.c index 1add3c415e7..9ed98deb7b5 100644 --- a/src/xterm.c +++ b/src/xterm.c @@ -7446,6 +7446,11 @@ x_clear_frame_area (f, x, y, width, height) { 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 }