scripting: Filter out windows with isClient=false in WindowModel
These windows render as empty boxes and opening them crashes the KWin. Also, the same check is present in TabBox. BUG: 486182
This commit is contained in:
parent
ba7b23c41d
commit
ce57af62ec
1 changed files with 1 additions and 1 deletions
|
@ -258,7 +258,7 @@ bool WindowFilterModel::filterAcceptsRow(int sourceRow, const QModelIndex &sourc
|
|||
}
|
||||
|
||||
Window *window = qvariant_cast<Window *>(data);
|
||||
if (!window) {
|
||||
if (!window || !window->isClient()) {
|
||||
return false;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue