diff options
Diffstat (limited to 'libLumina')
-rw-r--r-- | libLumina/LuminaX11.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/libLumina/LuminaX11.cpp b/libLumina/LuminaX11.cpp index 9d8bc915..be6d807c 100644 --- a/libLumina/LuminaX11.cpp +++ b/libLumina/LuminaX11.cpp @@ -26,7 +26,11 @@ QList<WId> LX11::WindowList(){ QString name = LX11::WindowClass(output[i]); if(output[i] == 0){ remove=true; } else if( desk >= 0 && LX11::WindowDesktop(output[i]) != desk){ remove = true; } - else if( name.startsWith("Lumina-DE") ){ remove=true; } + else if( name=="Lumina-DE" ){ remove = true; } + else if(name.startsWith("Lumina-")){ + //qDebug() << "Lumina Window:" << name << LX11::WindowName(output[i]); + if(LX11::WindowName(output[i]).toLower()==name.toLower() ){ remove=true; } + } /*else if( name.isEmpty() ){ qDebug() << "Abnormal Window:" << output[i]; qDebug() << " - Class:" << name; |