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

--- Comment #9 from Michail Vourlakos <mvourla...@gmail.com> ---
> It will be much easier if you ask Kwin devs.

ok achieved... ;) based on Chris Holland investigation which was fantastic!!

AWC in transparent latte panel:

Breeze:
https://drive.google.com/file/d/1NTAaKe-lnMWwm0kNZcQLaDhlkRROiccn/view?usp=sharing

and we can define the colorscheme in whatever suits us that means that Latte
can have always beautiful painting with it

SierraBreeze:
https://drive.google.com/file/d/1wsVAU2qgo_guGR4LKCyMiUyoZMijFbct/view?usp=sharing


How this was achieved:

1. Moved the kcm decoration previews... code under AWC umbrella in its
plugin...
2. I adjusted the previews... classes to not draw shadows etc.. because it isnt
needed and simplifys the calculations
3. I sent through PreviewButton the mouse events to its m_button
(Decoration2::DecorationButton)
4. I updated the PreviewButton to be colored when the m_button changes its
flags isPressed and isHovered
5. I found a possible bug in Decoration2::DecorationButton that was ignoring
some mouse events and hacked it through PreviewButton sending always mouse
positions that are treated as valid from Decoration::DecorationButton

I dindnt find a way for aurorae themes to draw DecorationButton(s) but I might
be missing something, I tried to set for Bridge:
plugin="org.kde.kwin.aurorae"
theme="Arc"

but even though Arc is in the system, it couldnt find it...

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

Reply via email to