Additions to the Composite extension

Po Lu luangruo at yahoo.com
Wed Oct 19 08:00:25 UTC 2022


Recently, I've found that in order to obey _NET_WM_SYNC_REQUEST events
use presentation at the same time in a reasonable fashion, one must be
able to determine whether or not the compositing manager has actually
redirected the window.  Polling with an error trap and
XCompositeRedirectWindow is horribly inefficient, and there is no other
way for a client to be notified when redirection has changed.

These additions to the Composite extension constitute a minor revision
of that extension, and provide a mechanism for clients to listen to
redirection changes on a given window.  The patches consist of additions
to xorgproto defining the new version of the extension, an
implementation in the X.Org server, and stubs in libXcomposite.

Since I've totally lost track of how X server development works today,
I've copied in the maintainer of libXcomposite, as this list does not
seem to get much attention.  I hope that isn't a problem.

If these changes look good, I'd like for them to be installed.  If
they're not, please tell me why, and I will try my best to fix them.

Thanks in advance.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Add-composite-redirection-notification-events.patch
Type: text/x-patch
Size: 11749 bytes
Desc: not available
URL: <https://lists.x.org/archives/xorg-devel/attachments/20221019/c812ea09/attachment-0003.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Implement-wrappers-for-version-0.5-of-the-Composite-.patch
Type: text/x-patch
Size: 11866 bytes
Desc: not available
URL: <https://lists.x.org/archives/xorg-devel/attachments/20221019/c812ea09/attachment-0004.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Implement-version-0.5-of-the-Composite-extension.patch
Type: text/x-patch
Size: 22597 bytes
Desc: not available
URL: <https://lists.x.org/archives/xorg-devel/attachments/20221019/c812ea09/attachment-0005.bin>


More information about the xorg-devel mailing list