diff options
author | Ken Moore <ken@pcbsd.org> | 2014-09-05 13:49:33 -0400 |
---|---|---|
committer | Ken Moore <ken@pcbsd.org> | 2014-09-05 13:49:33 -0400 |
commit | ec5b6062a8291a67d8c1adc6ef59a5377a101001 (patch) | |
tree | 6c859968014f2a11cea417d69a77574fff0c4cd3 /libLumina/LuminaX11.cpp | |
parent | Fix a bug with the taskmanager when multiple windows from the same applicatio... (diff) | |
download | lumina-ec5b6062a8291a67d8c1adc6ef59a5377a101001.tar.gz lumina-ec5b6062a8291a67d8c1adc6ef59a5377a101001.tar.bz2 lumina-ec5b6062a8291a67d8c1adc6ef59a5377a101001.zip |
Add a simple OSD to the audio/brightness up/down options in lumina-open (since these are what the keyboard shortcuts run). Also adjust the window list filter to cut out any "Lumina-" utilities that do not provide a custom window title (such as the OSD or other splashscreens).
Diffstat (limited to 'libLumina/LuminaX11.cpp')
-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; |