+2009-07-07 Jan Djärv <jan.h.d@swipnet.se>
+
+ * xterm.c (handle_one_xevent): Only call x_check_fullscreen on the
+ first MapNotify.
+
2009-07-07 Kenichi Handa <handa@m17n.org>
* character.h (unibyte_has_multibyte_table): Delete extern.
if (! f->async_iconified)
SET_FRAME_GARBAGED (f);
+ /* Check if fullscreen was specified before we where mapped the
+ first time, i.e. from the command line. */
+ if (!f->output_data.x->has_been_visible)
+ x_check_fullscreen (f);
+
f->async_visible = 1;
f->async_iconified = 0;
f->output_data.x->has_been_visible = 1;
in case this is the second frame. */
record_asynch_buffer_change ();
- /* Check if fullscreen was specified before we where mapped. */
- x_check_fullscreen (f);
#ifdef USE_GTK
xg_frame_resized (f, -1, -1);
#endif