texinfo-commits
[Top][All Lists]
Advanced

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

[5644] adjust active window pagetop after screen resizes


From: Gavin D. Smith
Subject: [5644] adjust active window pagetop after screen resizes
Date: Thu, 05 Jun 2014 15:56:01 +0000

Revision: 5644
          http://svn.sv.gnu.org/viewvc/?view=rev&root=texinfo&revision=5644
Author:   gavin
Date:     2014-06-05 15:56:00 +0000 (Thu, 05 Jun 2014)
Log Message:
-----------
adjust active window pagetop after screen resizes

Modified Paths:
--------------
    trunk/ChangeLog
    trunk/info/window.c

Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog     2014-06-05 15:29:55 UTC (rev 5643)
+++ trunk/ChangeLog     2014-06-05 15:56:00 UTC (rev 5644)
@@ -18,6 +18,9 @@
        (window_set_node_of_window): Don't call window_adjust_pagetop if there
        is no node.
 
+       * info/window.c (window_new_screen_size): Call window_adjust_pagetop
+       on active window after resizing all the windows.
+
 2014-06-05  Gavin Smith  <address@hidden>
 
        * info/nodes.h (N_IsIndex): New macro.

Modified: trunk/info/window.c
===================================================================
--- trunk/info/window.c 2014-06-05 15:29:55 UTC (rev 5643)
+++ trunk/info/window.c 2014-06-05 15:56:00 UTC (rev 5644)
@@ -249,6 +249,9 @@
         }
     }
 
+  /* Make sure point is in displayed part of active window. */
+  window_adjust_pagetop (active_window);
+
   /* One more loop.  If any heights or widths have become negative,
      set them to zero.  This can apparently happen with resizing down to
      very small sizes.  Sadly, it is not apparent to me where in the




reply via email to

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