Skip to content

scene: Ignore xwayland window shape

Vlad Zahorodnii requested to merge work/zzag/xwayland-shape into master

The shape region is used to clip the window contents. But, in practice, it's used by a few applications. The most notable is xeyes.

The APIs that the shape region requires are manageable, but it would be much preferred if we had a much simpler design.

In terms of the shape region support on Wayland, it's not widely supported across all wayland compositors, to my knowledge, only two support it, some compositors even want to disable XSHAPE extension at all.

This change makes the Xwayland windows ignore the shape region to see if any real world applications are affected by it. If not, then we could safely simplify the scene bits later.

The Xorg session is unaffected by this change.

Merge request reports