Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Plasma
KWin
Commits
64c72157
Verified
Commit
64c72157
authored
Apr 25, 2021
by
Felipe Kinoshita
🌎
Browse files
[effects/presentwindows] Darken panel
parent
e9fcd958
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/effects/presentwindows/presentwindows.cpp
View file @
64c72157
...
...
@@ -385,6 +385,7 @@ void PresentWindowsEffect::paintWindow(EffectWindow *w, int mask, QRegion region
DataHash
::
const_iterator
winData
=
m_windowData
.
constFind
(
w
);
if
(
winData
==
m_windowData
.
constEnd
()
||
(
w
->
isDock
()
&&
m_showPanel
))
{
// in case the panel should be shown just display it without any changes
data
.
multiplyBrightness
(
interpolate
(
0.40
,
1.0
,
winData
->
highlight
));
effects
->
paintWindow
(
w
,
mask
,
region
,
data
);
return
;
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment