3 ms·
I've got great news for you! https://en.wikipedia.org/wiki/Shape_extension https://en.wikipedia.org/wiki/Shape_extension
by dmd 7mo ago
I've got great news for you! https://en.wikipedia.org/wiki/Shape_extension https://en.wikipedia.org/wiki/Shape_extension
- RattlesnakeJake 7mo agoOoh - 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.