diff --git a/effects.h b/effects.h index 59339ae5de..c9a74b3183 100644 --- a/effects.h +++ b/effects.h @@ -462,6 +462,8 @@ private: inline QList EffectsHandlerImpl::elevatedWindows() const { + if (isScreenLocked()) + return QList(); return elevated_windows; }