Why X protocol/server forbid zero width/height?

Russell Shaw rjshaw at netspace.net.au
Wed Nov 23 05:36:21 PST 2005


Olivier Galibert wrote:
> On Thu, Nov 24, 2005 at 12:12:16AM +1100, Russell Shaw wrote:
> 
>>X could be modded to eliminate any hard-coded problems, but still be made to
>>exhibit the same old behaviour to legacy apps.
> 
> Frankly, do you think any application relies on getting BadValue?
> Moves from "this is invalid" to "this is now valid" tend to be
> considered perfectly backwards compatible.
> 
> I'd understand using the presence of an extension to say that it is
> the new and improved version, but having code to revert to the
> previous behaviour when it's not tickled right is probably an
> unnecessary maintainance burden.

I was only keeping the pedants happy;)
I wouldn't do an extension just for that, but as part of a larger one.

If a user was to manually resize a window to zero size, it might disappear
without any way of resizing it.



More information about the xorg mailing list