diff options
author | Jan Djärv <jan.h.d@swipnet.se> | 2010-01-06 16:57:43 +0100 |
---|---|---|
committer | Jan Djärv <jan.h.d@swipnet.se> | 2010-01-06 16:57:43 +0100 |
commit | 4f6fc2522762546ef55e4769863a31afc068756c (patch) | |
tree | 254d09ce11d3c5aacc5e3425f584d1b0ffcb84ba | |
parent | 7534fa5ed2ebbab8efee55bbacf0ba57f754ff6e (diff) | |
parent | c0e6d47dc5e349881973bd9f9e64815c33c6a4f7 (diff) | |
download | emacs-4f6fc2522762546ef55e4769863a31afc068756c.tar.gz |
xterm.c (x_clear_frame): Queue draw for scroll bars.
-rw-r--r-- | src/ChangeLog | 4 | ||||
-rw-r--r-- | src/xterm.c | 6 |
2 files changed, 10 insertions, 0 deletions
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 <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 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; |