Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Plasma
KWin
Commits
94d91e64
Commit
94d91e64
authored
May 09, 2022
by
Vlad Zahorodnii
Browse files
Remove redundant Window::isClient() call
Unmanaged windows are on all desktops, activities, not hidden and not minimized.
parent
74482b2e
Pipeline
#174364
passed with stage
in 25 minutes and 49 seconds
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
src/input.cpp
View file @
94d91e64
...
...
@@ -3178,10 +3178,8 @@ Window *InputRedirection::findManagedToplevel(const QPoint &pos)
// a deleted window doesn't get mouse events
continue
;
}
if
(
window
->
isClient
())
{
if
(
!
window
->
isOnCurrentActivity
()
||
!
window
->
isOnCurrentDesktop
()
||
window
->
isMinimized
()
||
window
->
isHiddenInternal
())
{
continue
;
}
if
(
!
window
->
isOnCurrentActivity
()
||
!
window
->
isOnCurrentDesktop
()
||
window
->
isMinimized
()
||
window
->
isHiddenInternal
())
{
continue
;
}
if
(
!
window
->
readyForPainting
())
{
continue
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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