From 420c00881c61b4593c05cae3e9d22f2453c39829 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Gr=C3=A4=C3=9Flin?= Date: Thu, 26 Nov 2009 08:15:12 +0000 Subject: [PATCH] Coding in the evening results in incorrect boolean checks. svn path=/trunk/KDE/kdebase/workspace/; revision=1054505 --- clients/aurorae/src/aurorae.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/aurorae/src/aurorae.cpp b/clients/aurorae/src/aurorae.cpp index 76aeca1733..29d7dfa279 100644 --- a/clients/aurorae/src/aurorae.cpp +++ b/clients/aurorae/src/aurorae.cpp @@ -751,7 +751,7 @@ void AuroraeClient::paintEvent(QPaintEvent *event) // restrict painting on the decoration - no need to paint behind the window int left, right, top, bottom; decoration()->borders(left, right, top, bottom); - if (!compositingActive() && !transparentRect().isNull()) { + if (!compositingActive() || (compositingActive() && !transparentRect().isNull())) { // only clip when compositing is not active and we don't extend into the client painter.setClipping(true); painter.setClipRect(0, 0,