Composite and bit gravity
Soeren Sandmann
sandmann at daimi.au.dk
Sat Nov 13 16:27:19 PST 2004
Owen Taylor <otaylor at redhat.com> writes:
> Is this going to handle the case of making a window smaller with, say,
> SW bit gravity where you go from
>
> XXXXXXX AAAAA
> XAAAAAA => AAAAA
> XAAAAAA
>
> As well as gravity, border width changes can result in shifts of of
> pixels within the window's pixmap.
It should handle these cases. The pixmap gets reallocated before the
gravity code runs, so the regular resize code will take care of
it. The problem without the patch as far as I can see is that the
gravity code runs before the pixels are copied.
Soeren
More information about the xorg
mailing list