ResizeWindow and ChangeBorderWidth return values

Keith Packard keithp at
Wed Jun 2 19:11:25 PDT 2010

On Thu, 3 Jun 2010 10:33:07 +1000, Dave Airlie <airlied at> wrote:

> Maybe we could do the composite checks before the ActuallyDoSomething
> in dix/window.c so we can fail before doing ConfigNotify and all the
> other stuff. Because failing afterwards seems like a lot of work.

I'd suggest that the 'ResizeNotify' hook could be used by Composite to
allocate the new pixmap, and that hook could return an error value. It's
called in just the right place.

keith.packard at
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <>

More information about the xorg-devel mailing list