plasma: return if the X11 property is deleted in Plasma::WindowEffects::highlightWindows()

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
Ivailo Monev 2022-10-24 18:39:43 +03:00
parent b0b9fb8fce
commit d4ac838463

View file

@ -222,6 +222,7 @@ void highlightWindows(WId controller, const QList<WId> &ids)
if (numWindows == 0) { if (numWindows == 0) {
XDeleteProperty(dpy, controller, atom); XDeleteProperty(dpy, controller, atom);
return;
} }
QVarLengthArray<long, 32> data(numWindows); QVarLengthArray<long, 32> data(numWindows);