diff options
| author | Jan Djärv | 2004-12-31 18:16:10 +0000 |
|---|---|---|
| committer | Jan Djärv | 2004-12-31 18:16:10 +0000 |
| commit | 42d02da077d0678e85e9391905e4ce3986c014d8 (patch) | |
| tree | b95fba2f767cb7f1738fc4ebc624af6d7754009e /src | |
| parent | 1db7dd46a18147e65dad59e1115e5d0eb648fbe5 (diff) | |
| download | emacs-42d02da077d0678e85e9391905e4ce3986c014d8.tar.gz emacs-42d02da077d0678e85e9391905e4ce3986c014d8.zip | |
* xterm.c (handle_one_xevent): Clear area in expose event for GTK.
Diffstat (limited to 'src')
| -rw-r--r-- | src/ChangeLog | 4 | ||||
| -rw-r--r-- | src/xterm.c | 8 |
2 files changed, 12 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index c60504d970c..494f45f9af8 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,7 @@ | |||
| 1 | 2004-12-31 Jan Dj,Ad(Brv <jan.h.d@swipnet.se> | ||
| 2 | |||
| 3 | * xterm.c (handle_one_xevent): Clear area in expose event for GTK. | ||
| 4 | |||
| 1 | 2004-12-31 Richard M. Stallman <rms@gnu.org> | 5 | 2004-12-31 Richard M. Stallman <rms@gnu.org> |
| 2 | 6 | ||
| 3 | * window.c (window_scroll_pixel_based): Only look at | 7 | * window.c (window_scroll_pixel_based): Only look at |
diff --git a/src/xterm.c b/src/xterm.c index eb546746485..0dafcfb0101 100644 --- a/src/xterm.c +++ b/src/xterm.c | |||
| @@ -6000,6 +6000,14 @@ handle_one_xevent (dpyinfo, eventp, finish, hold_quit) | |||
| 6000 | { | 6000 | { |
| 6001 | x_check_fullscreen (f); | 6001 | x_check_fullscreen (f); |
| 6002 | 6002 | ||
| 6003 | #ifdef USE_GTK | ||
| 6004 | /* This seems to be needed for GTK 2.6. */ | ||
| 6005 | x_clear_area (event.xexpose.display, | ||
| 6006 | event.xexpose.window, | ||
| 6007 | event.xexpose.x, event.xexpose.y, | ||
| 6008 | event.xexpose.width, event.xexpose.height, | ||
| 6009 | FALSE); | ||
| 6010 | #endif | ||
| 6003 | if (f->async_visible == 0) | 6011 | if (f->async_visible == 0) |
| 6004 | { | 6012 | { |
| 6005 | f->async_visible = 1; | 6013 | f->async_visible = 1; |