From: Alex Schroeder Date: Tue, 3 Aug 2021 07:21:24 +0000 (+0200) Subject: Improved image rendering: fix max-height X-Git-Tag: v3.2.2~7 X-Git-Url: https://thelambdalab.xyz/gitweb/index.cgi?a=commitdiff_plain;h=7e6b71d0cf4ccf5d94a95c58fc35ebf2fd09920b;hp=7e6b71d0cf4ccf5d94a95c58fc35ebf2fd09920b;p=elpher.git Improved image rendering: fix max-height window-pixel-height's return value includes the mode line and header line and the bottom divider, if any. In order for the image to fit exactly, we therefore subtract window-header-line-height, window-mode-line-height window, window-scroll-bar-height window, and window-bottom-divider-width. ---