On Wed, Nov 07, 2018 at 09:35:37PM -0500 I heard the voice of
Stefan Monnier, and lo! it spake thus:
> 
> My reading of this code says that the reason why it's written that
> way it's to ensure that the position of all four corners will be
> <=32767, as long as one of the corners is within the root window.
> IOW this is the maximum size which still allows the user to place
> the window anywhere within the root window.

Ah, that hadn't occured to me.  Good catch.

I wonder if it's a sensible default.  If you're a long way from the
limits (as a "normal" setup would still be today), it's effectively
the same as unlimited.  And if you're pushing the limits, it seems
like it would hurt more than it helps.  To keep me from having to
wonder why I can't push a window as far off the right of the rightmost
monitor as I might want, I'm prevented from making it the full width
of the leftmost.

Of course, a given MaxWindowSize completely overrides it too.  Those
are initial defaults, not bounds on later changes.  I guess if kept,
they probably should factor in x/y too, since they'd be wrong for that
purpose if the root didn't start at (0,0).



-- 
Matthew Fuller     (MF4839)   |  [email protected]
Systems/Network Administrator |  http://www.over-yonder.net/~fullermd/
           On the Internet, nobody can hear you scream.

Reply via email to