Sean MacLennan <seanm(a)storm.ca> writes:
(= (window-width window) (frame-width (window-frame window)))
This is true for horizontal (or no) toolbars, and false for vertical
toolbars since window-width will be < frame width.
Why is this line needed? And how can I find out the toolbar width? The
problem is in both 21.2-b17 and 21.0-b64.
The intention is probably to keep from resizing windows that are split
vertically. The code comes straight from FSF emacs and that doesn't
have toolbars. Could you make a patch that uses something like
(and (window-leftmost-p (selected-window))
(window-rightmost-p (selected-window)))
and send it to xemacs-patches(a)xemacs.org. Please label the change with
an ;; XEmacs comment and include a Changelog entry.
Jan