[Konsole-devel] [konsole] [Bug 198175] Konsole should set blur region for the new kwin effect
Thomas Lübking via KDE Bugzilla
bugzilla_noreply at kde.org
Tue Jul 12 18:58:58 UTC 2016
https://bugs.kde.org/show_bug.cgi?id=198175
--- Comment #77 from Thomas Lübking <thomas.luebking at 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 the assignee for the bug.
More information about the konsole-devel
mailing list