diff options
| author | Jan Djärv | 2009-07-07 08:38:44 +0000 |
|---|---|---|
| committer | Jan Djärv | 2009-07-07 08:38:44 +0000 |
| commit | fcaf6f3a784c8da98f1fb377ab2630a956a0c4e7 (patch) | |
| tree | 591c7fa69cf43022a08ae9e20e660e641078eb6d | |
| parent | a43977db50415a17a4c25eec3ac2c185a4a64731 (diff) | |
| download | emacs-fcaf6f3a784c8da98f1fb377ab2630a956a0c4e7.tar.gz emacs-fcaf6f3a784c8da98f1fb377ab2630a956a0c4e7.zip | |
xterm.c (handle_one_xevent): Only call x_check_fullscreen on the
first MapNotify.
| -rw-r--r-- | src/ChangeLog | 5 | ||||
| -rw-r--r-- | src/xterm.c | 7 |
2 files changed, 10 insertions, 2 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 3a57c0a6223..a072f49cb8d 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2009-07-07 Jan Djärv <jan.h.d@swipnet.se> | ||
| 2 | |||
| 3 | * xterm.c (handle_one_xevent): Only call x_check_fullscreen on the | ||
| 4 | first MapNotify. | ||
| 5 | |||
| 1 | 2009-07-07 Kenichi Handa <handa@m17n.org> | 6 | 2009-07-07 Kenichi Handa <handa@m17n.org> |
| 2 | 7 | ||
| 3 | * character.h (unibyte_has_multibyte_table): Delete extern. | 8 | * character.h (unibyte_has_multibyte_table): Delete extern. |
diff --git a/src/xterm.c b/src/xterm.c index c034faaec2e..8d9a7d3cc0b 100644 --- a/src/xterm.c +++ b/src/xterm.c | |||
| @@ -6207,6 +6207,11 @@ handle_one_xevent (dpyinfo, eventp, finish, hold_quit) | |||
| 6207 | if (! f->async_iconified) | 6207 | if (! f->async_iconified) |
| 6208 | SET_FRAME_GARBAGED (f); | 6208 | SET_FRAME_GARBAGED (f); |
| 6209 | 6209 | ||
| 6210 | /* Check if fullscreen was specified before we where mapped the | ||
| 6211 | first time, i.e. from the command line. */ | ||
| 6212 | if (!f->output_data.x->has_been_visible) | ||
| 6213 | x_check_fullscreen (f); | ||
| 6214 | |||
| 6210 | f->async_visible = 1; | 6215 | f->async_visible = 1; |
| 6211 | f->async_iconified = 0; | 6216 | f->async_iconified = 0; |
| 6212 | f->output_data.x->has_been_visible = 1; | 6217 | f->output_data.x->has_been_visible = 1; |
| @@ -6223,8 +6228,6 @@ handle_one_xevent (dpyinfo, eventp, finish, hold_quit) | |||
| 6223 | in case this is the second frame. */ | 6228 | in case this is the second frame. */ |
| 6224 | record_asynch_buffer_change (); | 6229 | record_asynch_buffer_change (); |
| 6225 | 6230 | ||
| 6226 | /* Check if fullscreen was specified before we where mapped. */ | ||
| 6227 | x_check_fullscreen (f); | ||
| 6228 | #ifdef USE_GTK | 6231 | #ifdef USE_GTK |
| 6229 | xg_frame_resized (f, -1, -1); | 6232 | xg_frame_resized (f, -1, -1); |
| 6230 | #endif | 6233 | #endif |