Subject: bug#59310: 29.0.50; mode-line width does not respect window-divider

From: Eli Zaretskii <[email-masked]>
Date: Thu, 17 Nov 2022 11:23:54 +0200

> From: Gabriel <[email-masked]>
> Date: Wed, 16 Nov 2022 11:58:07 -0300
> 
> 1) emacs -Q (master 690f7ac86ad9a9d714b1107d05c5e856a43bb18d)
> 
> 2) Eval:
> 
> (progn
>   (set-face-attribute 'mode-line nil
>                       :background "yellow"
>                       :box '(:line-width 4 :color "orange"))
> 
>   (set-face-attribute 'mode-line-inactive nil
>                       :background "yellow"
> 		      :box '(:line-width 4 :color "orange"))
> 
>   (setopt window-divider-default-places t
>           window-divider-default-bottom-width 12
>           window-divider-default-right-width 12)
> 
>   (set-face-attribute 'window-divider nil :foreground "green")
>   (set-face-attribute 'window-divider-last-pixel nil :foreground "green")
>   (set-face-attribute 'window-divider-first-pixel nil :foreground "green")
> 
>   (window-divider-mode 1))
> 
> 3) Open some windows with C-x 3
> 
> Expected: mode-line width is properly displayed considering the
> window-divider width (orange borders in mode-line are properly
> displayed).
> 
> Actual: mode-line width display does not properly consider the
> window-divider width (missing orange right border in mode-line).

Thanks, this should be fixed now on the master branch.