https://bugs.kde.org/show_bug.cgi?id=198175

--- Comment #77 from Thomas Lübking <thomas.luebk...@gmail.com> ---
It's an X11 property - you can query it using XLib/xcb API.
Adding a KWindowSystem getter sounds a bit off for technically only the
WM/compositor should ever read it.

The discussion back then was to shovel this  to the GUI style (for it may also
have wanted to impact this but since Qt5 doesn't support depth changes of
existing windows, that point is now more or less void)

I'd suggest to go for a relaxed protocol (gentleman's agreement) on some
dynamic Qt property on the widgets and a static KStyle helper to traverse all
widgets in a window for the blur props, merge them into a region and set the
X11 property via KWindowSystem

You'd then
myWidget->setProperty("kwin_fx_blur", QRegion);
KStyle::updateBlur(myWidget->window()); // schedules a run for the end of the
event cycle

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to