# HG changeset patch # User Jan Dj¸«£rv # Date 1104516970 0 # Node ID b7ebbcf3b120955364a933aecc8ac0f141795a85 # Parent dba05e4999d2de391d2713c8a102b7e44ba9375f * xterm.c (handle_one_xevent): Clear area in expose event for GTK. diff -r dba05e4999d2 -r b7ebbcf3b120 src/ChangeLog --- 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 + + * xterm.c (handle_one_xevent): Clear area in expose event for GTK. + 2004-12-31 Richard M. Stallman * window.c (window_scroll_pixel_based): Only look at diff -r dba05e4999d2 -r b7ebbcf3b120 src/xterm.c --- 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;