1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-25 14:01:33 -08:00

xterm.c (handle_one_xevent): Only call x_check_fullscreen on the

first MapNotify.
This commit is contained in:
Jan Djärv 2009-07-07 08:38:44 +00:00
parent a43977db50
commit fcaf6f3a78
2 changed files with 10 additions and 2 deletions

View file

@ -1,3 +1,8 @@
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.

View file

@ -6207,6 +6207,11 @@ handle_one_xevent (dpyinfo, eventp, finish, hold_quit)
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;
@ -6223,8 +6228,6 @@ handle_one_xevent (dpyinfo, eventp, finish, hold_quit)
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