From 42d02da077d0678e85e9391905e4ce3986c014d8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20Dj=C3=A4rv?= <jan.h.d@swipnet.se> Date: Fri, 31 Dec 2004 18:16:10 +0000 Subject: [PATCH] * xterm.c (handle_one_xevent): Clear area in expose event for GTK. --- src/ChangeLog | 4 ++++ src/xterm.c | 8 ++++++++ 2 files changed, 12 insertions(+) diff --git a/src/ChangeLog b/src/ChangeLog index c60504d970c..494f45f9af8 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,7 @@ +2004-12-31 Jan Dj,Ad(Brv <jan.h.d@swipnet.se> + + * xterm.c (handle_one_xevent): Clear area in expose event for GTK. + 2004-12-31 Richard M. Stallman <rms@gnu.org> * window.c (window_scroll_pixel_based): Only look at diff --git a/src/xterm.c b/src/xterm.c index eb546746485..0dafcfb0101 100644 --- a/src/xterm.c +++ b/src/xterm.c @@ -6000,6 +6000,14 @@ handle_one_xevent (dpyinfo, eventp, finish, hold_quit) { x_check_fullscreen (f); +#ifdef USE_GTK + /* This seems to be needed for GTK 2.6. */ + x_clear_area (event.xexpose.display, + event.xexpose.window, + event.xexpose.x, event.xexpose.y, + event.xexpose.width, event.xexpose.height, + FALSE); +#endif if (f->async_visible == 0) { f->async_visible = 1;