Take the tab-line into account when computing the window edges
window-body-height correctly subtracts the tab-line's height but window-edges did not add this same height to the y-offset. See https://github.com/emacs-exwm/exwm/pull/114 * lisp/window.el (window-edges): Add the tab-line-height to the y-offet of the window body. (Bug#75576)
This commit is contained in:
parent
74dc2bd280
commit
ec20ebf241
1 changed files with 2 additions and 1 deletions
|
@ -3828,7 +3828,8 @@ ABSOLUTE is non-nil, PIXELWISE is implicitly non-nil too."
|
|||
(top-body
|
||||
(when body
|
||||
(+ (window-pixel-top window) border-width
|
||||
(window-header-line-height window))))
|
||||
(window-header-line-height window)
|
||||
(window-tab-line-height window))))
|
||||
(right (+ left (if pixelwise
|
||||
(window-pixel-width window)
|
||||
(window-total-width window))))
|
||||
|
|
Loading…
Add table
Reference in a new issue