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
Unmaintained
KDE Workspace
Commits
5bfa461f
Commit
5bfa461f
authored
Nov 23, 2012
by
Thomas Lübking
Browse files
fix screen switching for more than two screens
BUG: 264041 FIXED-IN: 4.9.4 (cherry picked from commit
217895fb
)
parent
ebdd6189
Changes
1
Show whitespace changes
Inline
Side-by-side
kwin/activation.cpp
View file @
5bfa461f
...
...
@@ -505,11 +505,11 @@ void Workspace::setCurrentScreen(int new_screen)
Client
*
ci
=
focus_chain
[
currentDesktop
()].
at
(
i
);
if
(
!
ci
->
isShown
(
false
)
||
!
ci
->
isOnCurrentDesktop
()
||
!
ci
->
isOnCurrentActivity
())
continue
;
if
(
!
ci
->
screen
()
==
new_screen
)
continue
;
if
(
ci
->
screen
()
==
new_screen
)
{
get_focus
=
ci
;
break
;
}
}
if
(
get_focus
==
NULL
)
get_focus
=
findDesktop
(
true
,
currentDesktop
());
if
(
get_focus
!=
NULL
&&
get_focus
!=
mostRecentlyActivatedClient
())
...
...
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