emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] emacs-24 r117409: Fix bugs #16674 and #18112 with resizing


From: Eli Zaretskii
Subject: [Emacs-diffs] emacs-24 r117409: Fix bugs #16674 and #18112 with resizing TTY frames after switching terminals.
Date: Sun, 27 Jul 2014 13:02:06 +0000
User-agent: Bazaar (2.6b2)

------------------------------------------------------------
revno: 117409
revision-id: address@hidden
parent: address@hidden
fixes bugs: http://debbugs.gnu.org/18112 http://debbugs.gnu.org/16674
committer: Eli Zaretskii <address@hidden>
branch nick: emacs-24
timestamp: Sun 2014-07-27 16:01:07 +0300
message:
  Fix bugs #16674 and #18112 with resizing TTY frames after switching terminals.
  
   lisp/window.el (window--pixel-to-total): Use FRAME's root window, not
   that of the selected frame.
modified:
  lisp/ChangeLog                 changelog-20091113204419-o5vbwnq5f7feedwu-1432
  lisp/window.el                 window.el-20091113204419-o5vbwnq5f7feedwu-94
=== modified file 'lisp/ChangeLog'
--- a/lisp/ChangeLog    2014-07-27 11:38:59 +0000
+++ b/lisp/ChangeLog    2014-07-27 13:01:07 +0000
@@ -1,3 +1,8 @@
+2014-07-27  Eli Zaretskii  <address@hidden>
+
+       * window.el (window--pixel-to-total): Use FRAME's root window, not
+       that of the selected frame.  (Bug#18112, Bug#16674)
+
 2014-07-27  Andreas Schwab  <address@hidden>
 
        * textmodes/tex-mode.el (tex-font-lock-verb): Doc fix.

=== modified file 'lisp/window.el'
--- a/lisp/window.el    2014-06-18 07:57:27 +0000
+++ b/lisp/window.el    2014-07-27 13:01:07 +0000
@@ -2230,7 +2230,7 @@
 window widths from pixel widths."
   (setq frame (window-normalize-frame frame))
   (let* ((char-size (frame-char-size frame horizontal))
-        (root (frame-root-window))
+        (root (frame-root-window frame))
         (root-size (window-size root horizontal t))
         ;; We have to care about the minibuffer window only if it
         ;; appears together with the root window on this frame.


reply via email to

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