emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] emacs/src ChangeLog xterm.c


From: Jan Djärv
Subject: [Emacs-diffs] emacs/src ChangeLog xterm.c
Date: Tue, 07 Jul 2009 08:38:46 +0000

CVSROOT:        /cvsroot/emacs
Module name:    emacs
Changes by:     Jan Djärv <jhd> 09/07/07 08:38:46

Modified files:
        src            : ChangeLog xterm.c 

Log message:
        xterm.c (handle_one_xevent): Only call x_check_fullscreen on the
        first MapNotify.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/emacs/src/ChangeLog?cvsroot=emacs&r1=1.7632&r2=1.7633
http://cvs.savannah.gnu.org/viewcvs/emacs/src/xterm.c?cvsroot=emacs&r1=1.1036&r2=1.1037

Patches:
Index: ChangeLog
===================================================================
RCS file: /cvsroot/emacs/emacs/src/ChangeLog,v
retrieving revision 1.7632
retrieving revision 1.7633
diff -u -b -r1.7632 -r1.7633
--- ChangeLog   7 Jul 2009 06:27:23 -0000       1.7632
+++ ChangeLog   7 Jul 2009 08:38:44 -0000       1.7633
@@ -1,3 +1,8 @@
+2009-07-07  Jan Djärv  <address@hidden>
+
+       * xterm.c (handle_one_xevent): Only call x_check_fullscreen on the
+       first MapNotify.
+
 2009-07-07  Kenichi Handa  <address@hidden>
 
        * character.h (unibyte_has_multibyte_table): Delete extern.

Index: xterm.c
===================================================================
RCS file: /cvsroot/emacs/emacs/src/xterm.c,v
retrieving revision 1.1036
retrieving revision 1.1037
diff -u -b -r1.1036 -r1.1037
--- xterm.c     3 Jul 2009 11:07:12 -0000       1.1036
+++ xterm.c     7 Jul 2009 08:38:45 -0000       1.1037
@@ -6207,6 +6207,11 @@
           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 @@
                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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]