Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
Plasma
KWin
Commits
8dccc889
Commit
8dccc889
authored
Feb 14, 2011
by
Thomas Lübking
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
secure m_highlightedWindows access when triggering
explicit repaint in highlight effect
parent
1fc3fb4d
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
effects/highlightwindow/highlightwindow.cpp
effects/highlightwindow/highlightwindow.cpp
+2
-1
No files found.
effects/highlightwindow/highlightwindow.cpp
View file @
8dccc889
...
...
@@ -245,6 +245,7 @@ void HighlightWindowEffect::prepareHighlighting()
foreach
(
EffectWindow
*
w
,
effects
->
stackingOrder
()
)
if
(
!
m_windowOpacity
.
contains
(
w
))
// Just in case we are still finishing from last time
m_windowOpacity
[
w
]
=
isInitiallyHidden
(
w
)
?
0.0
:
1.0
;
if
(
!
m_highlightedWindows
.
isEmpty
())
m_highlightedWindows
.
at
(
0
)
->
addRepaintFull
();
}
...
...
Write
Preview
Markdown
is supported
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