Skip to content

xwayland: support window bounding shapes - #2162

Open
FreddyFunk wants to merge 1 commit into
Smithay:masterfrom
FreddyFunk:fix/xwayland-shape
Open

FreddyFunk wants to merge 1 commit into
Smithay:masterfrom
FreddyFunk:fix/xwayland-shape

Conversation

@FreddyFunk

Copy link
Copy Markdown

Description

Adds support for the X11 Shape extension's bounding region on Xwayland windows, cropping non-alpha toplevels to their boundary rectangles at render time and excluding points outside the shape from hit-testing. Tracks shape updates via ShapeNotify, caps rectangle counts to keep element lists manageable, and exposes a shape_notify hook for compositors.

Checklist

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant