1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-18 10:16:51 +00:00

* xterm.c (handle_one_xevent): Clear area in expose event for GTK.

This commit is contained in:
Jan Djärv 2004-12-31 18:16:10 +00:00
parent 1db7dd46a1
commit 42d02da077
2 changed files with 12 additions and 0 deletions

View File

@ -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

View 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;