ResizeWindow and ChangeBorderWidth return values

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


On Thu, 3 Jun 2010 10:33:07 +1000, Dave Airlie <airlied at gmail.com> 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 intel.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.x.org/archives/xorg-devel/attachments/20100602/b24ef24a/attachment.pgp>


More information about the xorg-devel mailing list