Commit 461aace5 authored by Vlad Zahorodnii's avatar Vlad Zahorodnii
Browse files

[effects/slidingpopups] Fix possible segfault

Reviewers: #kwin, mart, davidedmundson

Reviewed By: #kwin, davidedmundson

Subscribers: davidedmundson, kwin

Tags: #kwin

Differential Revision:
parent 4e1e22c7
......@@ -393,7 +393,7 @@ void SlidingPopupsEffect::slotPropertyNotify(EffectWindow* w, long a)
//do we want an actual slide?
if (data.length() >= (int)(sizeof(uint32_t) * 5))
animData.slideLength = d[5];
animData.slideLength = d[4];
} else {
animData.fadeInDuration = mFadeInTime;
animData.fadeOutDuration = mFadeOutTime;
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