From e930a50f8af09b846b22bb3345eb5a41bbc2cfd2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20L=C3=BCbking?= Date: Sun, 28 Aug 2011 20:25:58 +0200 Subject: [PATCH] coding style --- composite.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/composite.cpp b/composite.cpp index e58537d4c7..a10c853882 100644 --- a/composite.cpp +++ b/composite.cpp @@ -586,9 +586,8 @@ static QVector damageRects; void Toplevel::damageNotifyEvent(XDamageNotifyEvent* e) { - if (damageRatio == 1.0) // we know that we're completely damaged, no need to tell us again - { // drop events - while (XPending(display())) { + if (damageRatio == 1.0) { // we know that we're completely damaged, no need to tell us again + while (XPending(display())) { // drop events EventUnion e2; if (XPeekEvent(display(), &e2.e) && e2.e.type == Extensions::damageNotifyEvent() && e2.e.xany.window == frameId()) {