From 8a788b71caf68442a5c3ec7de51db44c343ef396 Mon Sep 17 00:00:00 2001 From: Vlad Zahorodnii Date: Wed, 9 Sep 2020 17:05:34 +0300 Subject: [PATCH] Slightly improve code readability The compiler suggests us to add some parenthesis in order to improve code readability. --- layershellv1integration.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/layershellv1integration.cpp b/layershellv1integration.cpp index fac0405a8..ebf5b70bb 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; }