[Top][All Lists]

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

[Emacs-diffs] Changes to emacs/src/w32term.c,v

From: Miles Bader
Subject: [Emacs-diffs] Changes to emacs/src/w32term.c,v
Date: Mon, 15 Oct 2007 02:07:56 +0000

CVSROOT:        /cvsroot/emacs
Module name:    emacs
Changes by:     Miles Bader <miles>     07/10/15 02:07:53

Index: src/w32term.c
RCS file: /cvsroot/emacs/emacs/src/w32term.c,v
retrieving revision 1.272
retrieving revision 1.273
diff -u -b -r1.272 -r1.273
--- src/w32term.c       15 Oct 2007 00:23:08 -0000      1.272
+++ src/w32term.c       15 Oct 2007 02:07:50 -0000      1.273
@@ -5564,7 +5564,22 @@
                       SWP_NOZORDER | SWP_NOMOVE | SWP_NOACTIVATE);
-  /* Now, strictly speaking, we can't be sure that this is accurate,
+#if 0
+  /* The following mirrors what is done in xterm.c. It appears to be
+     for informing lisp of the new size immediately, while the actual
+     resize will happen asynchronously. But on Windows, the menu bar
+     automatically wraps when the frame is too narrow to contain it,
+     and that causes any calculations made here to come out wrong. The
+     end is some nasty buggy behaviour, including the potential loss
+     of the minibuffer.
+     Disabling this code is either not sufficient to fix the problems
+     completely, or it causes fresh problems, but at least it removes
+     the most problematic symptom of the minibuffer becoming unusable.
+     -----------------------------------------------------------------
+     Now, strictly speaking, we can't be sure that this is accurate,
      but the window manager will get around to dealing with the size
      change request eventually, and we'll hear how it went when the
      ConfigureNotify event gets here.
@@ -5595,6 +5610,7 @@
      Actually checking whether it is outside is a pain in the neck,
      so don't try--just let the highlighting be done afresh with new size.  */
   cancel_mouse_face (f);

reply via email to

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