ResizeWindow and ChangeBorderWidth return values

Dave Airlie airlied at gmail.com
Wed Jun 2 19:22:35 PDT 2010


On Thu, Jun 3, 2010 at 12:11 PM, Keith Packard <keithp at keithp.com> wrote:
> 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.

You mean ConfigNotify, yeah that seems sane.

We could just make composite required, drop all the COMPOSITE and move
the composite code into DIX ;-)

Dave.


More information about the xorg-devel mailing list