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
7ee36597
Commit
7ee36597
authored
Dec 20, 2009
by
Lucas Murray
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Elevate highlighted windows in the highlight window effect.
svn path=/trunk/KDE/kdebase/workspace/; revision=1064253
parent
d93c4b6c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
effects/highlightwindow/highlightwindow.cpp
effects/highlightwindow/highlightwindow.cpp
+5
-0
No files found.
effects/highlightwindow/highlightwindow.cpp
View file @
7ee36597
...
...
@@ -148,6 +148,8 @@ void HighlightWindowEffect::propertyNotify( EffectWindow* w, long a )
m_monitorWindow
=
w
;
bool
found
=
false
;
int
length
=
byteData
.
length
()
/
sizeof
(
data
[
0
]
);
foreach
(
EffectWindow
*
e
,
m_highlightedWindows
)
effects
->
setElevatedWindow
(
e
,
false
);
m_highlightedWindows
.
clear
();
for
(
int
i
=
0
;
i
<
length
;
i
++
)
{
...
...
@@ -158,7 +160,10 @@ void HighlightWindowEffect::propertyNotify( EffectWindow* w, long a )
continue
;
}
if
(
!
foundWin
->
isMinimized
()
)
{
m_highlightedWindows
.
append
(
foundWin
);
effects
->
setElevatedWindow
(
foundWin
,
true
);
}
found
=
true
;
}
if
(
!
found
)
...
...
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