diff src/xterm.c @ 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 77ba45776c58
children 369714ad80ed 025da3ba778e 95879cc1ed20
line wrap: on
line diff
--- 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;