XErrorEvent BadAlloc in client from over-the-back window resize

Sebastian Glita glseba at yahoo.com
Wed Dec 8 07:37:00 PST 2010


I have a client (window) which abort() upon BadAlloc sent XErrorEvent due to
resizing the window "over its back" -- either above the top or beyond the left.

(xterm, for example, resizes to a very long window
in such a case; other X terminal client just disappears.)

Or BadAlloc sounds like a memory problem, and this might well be, since a 
negative height or width is a very large unsigned value.

How can one tell whether the client should resize its window to a fallback W x 
or there is really a memory problem in the server.



More information about the xorg-devel mailing list