Suppose my Emacs frame looks like this:
.-------------.
|a |b |
| | |
| | |
| |------|
| |c |
| | |
| | |
'-------------'
Is is possible now to open another window below all other windows to get the frame that looks like the one below?
.-------------.
|a |b |
| | |
| |------|
| |c |
| | |
|-------------|
|d |
'-------------'
window-total-height
should be called with a WINDOW argument (probably the root window): as it stands, the size is dependent on the currently selected window. – NickD Sep 02 '20 at 19:26