This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Setting window blur region from an effect on Wayland

Tags: None
(comma "," separated)
parhom
Registered Member
Posts
1
Karma
0
Hi!
I'm developing a KWin effect that rounds window corners. In order to get rid of the blur under rounded corners previously I used:
Code: Select all
w->setData(WindowBlurBehindRole, blur_region);
But in Plasma 5.27 WindowBlurBehindRole is going to be removed. So I tried to use:
Code: Select all
KWindowEffects::enableBlurBehind(w->windowId(), true, blur_region);
This works on X11, but I can't get windowId on Wayland. Is there a way to set window blur region from an effect on Wayland?


Bookmarks



Who is online

Registered users: Bing [Bot], Google [Bot], kesang, Yahoo [Bot]