aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog5
-rw-r--r--src/xterm.c7
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 @@
12009-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
12009-07-07 Kenichi Handa <handa@m17n.org> 62009-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