Remove redundant Window::isClient() call
Unmanaged windows are on all desktops, activities, not hidden and not minimized.
This commit is contained in:
parent
74482b2e2d
commit
94d91e6404
1 changed files with 2 additions and 4 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue