diff --git a/layershellv1integration.cpp b/layershellv1integration.cpp index fac0405a82..ebf5b70bb0 100644 --- a/layershellv1integration.cpp +++ b/layershellv1integration.cpp @@ -97,7 +97,7 @@ static void rearrangeLayer(const QList &clients, QRect *wo if (shellSurface->layer() != layer) { continue; } - if (exclusive != shellSurface->exclusiveZone() > 0) { + if (exclusive != (shellSurface->exclusiveZone() > 0)) { continue; }