Two adjustments in window/frame resizing.
commit8960529e6b1edf67c720cf167220459325734470
authorMartin Rudalics <rudalics@gmx.at>
Wed, 12 Mar 2014 07:28:23 +0000 (12 08:28 +0100)
committerMartin Rudalics <rudalics@gmx.at>
Wed, 12 Mar 2014 07:28:23 +0000 (12 08:28 +0100)
tree4537c77883ad7ca647a129f64c1c8029470941f9
parente2bd66b7a1dffa12374b001e7c5df5a9d004a265
Two adjustments in window/frame resizing.

* frame.c (x_set_frame_parameters): Always calculate new sizes
pixelwise to avoid potential loss when rounding.
* window.el (fit-frame-to-buffer): Get maximum width from
display's width instead of height.
lisp/ChangeLog
lisp/window.el
src/ChangeLog
src/frame.c