ignore elevation list while screen is locked

elevated windows would appear above the locker
pot. leaking information

BUG: 347466
This commit is contained in:
Thomas Lübking 2015-05-10 11:15:16 +02:00
parent c08038e0a6
commit 89195c7e83

View file

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