changeset 59264:b7ebbcf3b120

* xterm.c (handle_one_xevent): Clear area in expose event for GTK.
author Jan Djärv <jan.h.d@swipnet.se>
date Fri, 31 Dec 2004 18:16:10 +0000
parents dba05e4999d2
children eb45d1b6dbc3
files src/ChangeLog src/xterm.c
diffstat 2 files changed, 12 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/ChangeLog	Fri Dec 31 15:21:56 2004 +0000
+++ b/src/ChangeLog	Fri Dec 31 18:16:10 2004 +0000
@@ -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
--- a/src/xterm.c	Fri Dec 31 15:21:56 2004 +0000
+++ b/src/xterm.c	Fri Dec 31 18:16:10 2004 +0000
@@ -6000,6 +6000,14 @@
         {
           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;