Commit 15fbddc3 authored by Arjen Hiemstra's avatar Arjen Hiemstra
Browse files

Register KWin::SessionState with QMetaType

Otherwise it cannot be used in scripts - like the sessionquit effect
which uses it to check if we're actually shutting down.
parent bb91c948
Pipeline #210234 passed with stage
in 12 minutes and 24 seconds
......@@ -127,6 +127,7 @@ EffectsHandlerImpl::EffectsHandlerImpl(Compositor *compositor, Scene *scene)
, m_trackingCursorChanges(0)
qRegisterMetaType<QVector<KWin::EffectWindow *>>();
connect(m_effectLoader, &AbstractEffectLoader::effectLoaded, this, [this](Effect *effect, const QString &name) {
effect_order.insert(effect->requestedEffectChainPosition(), EffectPair(name, effect));
loaded_effects << EffectPair(name, effect);
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment