Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
KWin
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
16
Issues
16
List
Boards
Labels
Service Desk
Milestones
Merge Requests
46
Merge Requests
46
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Plasma
KWin
Commits
bdcd42d8
Commit
bdcd42d8
authored
Oct 30, 2018
by
Vlad Zahorodnii
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'Plasma/5.14'
parents
c0344daa
558b86e9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
25 additions
and
2 deletions
+25
-2
effects/desktopgrid/desktopgrid.cpp
effects/desktopgrid/desktopgrid.cpp
+25
-2
No files found.
effects/desktopgrid/desktopgrid.cpp
View file @
bdcd42d8
...
@@ -1392,8 +1392,31 @@ bool DesktopGridEffect::isActive() const
...
@@ -1392,8 +1392,31 @@ bool DesktopGridEffect::isActive() const
bool
DesktopGridEffect
::
isRelevantWithPresentWindows
(
EffectWindow
*
w
)
const
bool
DesktopGridEffect
::
isRelevantWithPresentWindows
(
EffectWindow
*
w
)
const
{
{
return
!
(
w
->
isDesktop
()
||
w
->
isDock
()
||
w
->
isSkipSwitcher
()
||
w
->
isOnScreenDisplay
())
&&
if
(
w
->
isSpecialWindow
()
||
w
->
isUtility
())
{
w
->
isCurrentTab
()
&&
w
->
isOnCurrentActivity
();
return
false
;
}
if
(
w
->
isSkipSwitcher
())
{
return
false
;
}
if
(
w
->
isDeleted
())
{
return
false
;
}
if
(
!
w
->
acceptsFocus
())
{
return
false
;
}
if
(
!
w
->
isCurrentTab
())
{
return
false
;
}
if
(
!
w
->
isOnCurrentActivity
())
{
return
false
;
}
return
true
;
}
}
/************************************************
/************************************************
...
...
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