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
3c7bd4a5
Commit
3c7bd4a5
authored
Feb 04, 2011
by
Thomas Lübking
Committed by
Thomas Lübking
Feb 05, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
explicitly trigger minimal repaint on property change, otherwise broken when switching windows
parent
025a841e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
effects/highlightwindow/highlightwindow.cpp
effects/highlightwindow/highlightwindow.cpp
+3
-0
No files found.
effects/highlightwindow/highlightwindow.cpp
View file @
3c7bd4a5
...
@@ -245,6 +245,7 @@ void HighlightWindowEffect::prepareHighlighting()
...
@@ -245,6 +245,7 @@ void HighlightWindowEffect::prepareHighlighting()
foreach
(
EffectWindow
*
w
,
effects
->
stackingOrder
()
)
foreach
(
EffectWindow
*
w
,
effects
->
stackingOrder
()
)
if
(
!
m_windowOpacity
.
contains
(
w
))
// Just in case we are still finishing from last time
if
(
!
m_windowOpacity
.
contains
(
w
))
// Just in case we are still finishing from last time
m_windowOpacity
[
w
]
=
isInitiallyHidden
(
w
)
?
0.0
:
1.0
;
m_windowOpacity
[
w
]
=
isInitiallyHidden
(
w
)
?
0.0
:
1.0
;
m_highlightedWindows
.
at
(
0
)
->
addRepaintFull
();
}
}
void
HighlightWindowEffect
::
finishHighlighting
()
void
HighlightWindowEffect
::
finishHighlighting
()
...
@@ -252,6 +253,8 @@ void HighlightWindowEffect::finishHighlighting()
...
@@ -252,6 +253,8 @@ void HighlightWindowEffect::finishHighlighting()
m_finishing
=
true
;
m_finishing
=
true
;
m_monitorWindow
=
NULL
;
m_monitorWindow
=
NULL
;
m_highlightedWindows
.
clear
();
m_highlightedWindows
.
clear
();
if
(
!
m_windowOpacity
.
isEmpty
())
m_windowOpacity
.
constBegin
().
key
()
->
addRepaintFull
();
}
}
}
// namespace
}
// namespace
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