ignore elevation list while screen is locked

elevated windows would appear above the locker
pot. leaking information

BUG: 347466
icc-effect-5.14.5
Thomas Lübking 2015-05-10 11:15:16 +02:00
parent 3158e987fa
commit 538ff0c8aa
1 changed files with 2 additions and 0 deletions

View File

@ -463,6 +463,8 @@ private:
inline
QList<EffectWindow*> EffectsHandlerImpl::elevatedWindows() const
{
if (isScreenLocked())
return QList<EffectWindow*>();
return elevated_windows;
}