Mercurial > emacs
changeset 107140:0c8d4cc6d8b6
* 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:55:57 +0100 |
parents | 00c6bb12d924 (current diff) f257bf772280 (diff) |
children | c00bb092f636 7e1441b44e84 |
files | |
diffstat | 2 files changed, 10 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/ChangeLog Fri Feb 12 21:35:45 2010 +0200 +++ b/src/ChangeLog Sat Feb 13 13:55:57 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 Fri Feb 12 21:35:45 2010 +0200 +++ b/src/xterm.c Sat Feb 13 13:55:57 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 }