]> git.eshelyaron.com Git - emacs.git/commitdiff
* xterm.c (handle_one_xevent): Clear area in expose event for GTK.
authorJan Djärv <jan.h.d@swipnet.se>
Fri, 31 Dec 2004 18:16:10 +0000 (18:16 +0000)
committerJan Djärv <jan.h.d@swipnet.se>
Fri, 31 Dec 2004 18:16:10 +0000 (18:16 +0000)
src/ChangeLog
src/xterm.c

index c60504d970c45dee24033e95642a745eee17f194..494f45f9af804a8bed415858f20ff2347b8a6569 100644 (file)
@@ -1,3 +1,7 @@
+2004-12-31  Jan Dj\e,Ad\e(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
index eb54674648518e0f3b3cc2985ff0a63b749faa86..0dafcfb0101a45589e1760b8f9669f7eb963a4d0 100644 (file)
@@ -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;