4 ms·
Ooh - did this carry forward into Wayland?
by RattlesnakeJake 7mo ago
Ooh - did this carry forward into Wayland?
- dmd 7mo agoKinda-not-really? Wayland has wl_region objects and wl_surface_set_input_region but wl_region only has axis-aligned rectangles. you'd end up approximating the circle (or whatever shape) as a union of horizontal rect slices, rather than a pixmap. you can't just hand over a pixmap mask, you have to decompose the shape into rects yourself.