]> code.delx.au - gnu-emacs/commit
Fix calculation of total window sizes after font size changes (Bug#19972).
authorMartin Rudalics <rudalics@gmx.at>
Tue, 3 Mar 2015 10:32:19 +0000 (11:32 +0100)
committerMartin Rudalics <rudalics@gmx.at>
Tue, 3 Mar 2015 10:32:19 +0000 (11:32 +0100)
commit1903e25c17a0dce03710143659c0fa9e9c6d6494
tree91d44d9ae771f4720de9e0775bd282637dbb3fbc
parent2cc23f170f920cbfc9df4c28bce6ca9d82c4e6cd
Fix calculation of total window sizes after font size changes (Bug#19972).

* frame.c (adjust_frame_size): If the pixel sizes remain
unchanged but the number of lines or columns of the frame
changes, run `window--pixel-to-total' (Bug#19972).
(Qwindow_pixel_to_total): DEFSYM it.
* window.el (window--dump-frame): For pixel height return total
number of frame's lines.
lisp/ChangeLog
lisp/window.el
src/ChangeLog
src/frame.c