|
|
|
@ -809,7 +809,7 @@ void Windows::cleanupFaultyWindows()
|
|
|
|
|
auto winfo = m_windows[key];
|
|
|
|
|
|
|
|
|
|
//! garbage windows removing
|
|
|
|
|
if (winfo.wid()<=0 || winfo.geometry() == QRect(0, 0, 0, 0)) {
|
|
|
|
|
if (winfo.wid().toInt()<=0 || winfo.geometry() == QRect(0, 0, 0, 0)) {
|
|
|
|
|
//qDebug() << "Faulty Geometry ::: " << winfo.wid();
|
|
|
|
|
m_windows.remove(key);
|
|
|
|
|
}
|
|
|
|
@ -925,7 +925,7 @@ void Windows::updateHints(Latte::View *view)
|
|
|
|
|
break;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
if (!existsFaultyWindow && (winfo.wid()<=0 || winfo.geometry() == QRect(0, 0, 0, 0))) {
|
|
|
|
|
if (!existsFaultyWindow && (winfo.wid().toInt()<=0 || winfo.geometry() == QRect(0, 0, 0, 0))) {
|
|
|
|
|
existsFaultyWindow = true;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
@ -1095,7 +1095,7 @@ void Windows::updateHints(Latte::Layout::GenericLayout *layout) {
|
|
|
|
|
break;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
if (!existsFaultyWindow && (winfo.wid()<=0 || winfo.geometry() == QRect(0, 0, 0, 0))) {
|
|
|
|
|
if (!existsFaultyWindow && (winfo.wid().toInt()<=0 || winfo.geometry() == QRect(0, 0, 0, 0))) {
|
|
|
|
|
existsFaultyWindow = true;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|