From 29320ccd2636319b2107cbf769c0a396f8826472 Mon Sep 17 00:00:00 2001 From: Hugo Pereira Da Costa Date: Tue, 1 Jun 2010 22:44:03 +0000 Subject: [PATCH] no mask in borderless-titleless mode svn path=/trunk/KDE/kdebase/workspace/; revision=1133541 --- clients/oxygen/oxygenclient.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/clients/oxygen/oxygenclient.cpp b/clients/oxygen/oxygenclient.cpp index 2ec77801df..8290cc2bb3 100644 --- a/clients/oxygen/oxygenclient.cpp +++ b/clients/oxygen/oxygenclient.cpp @@ -272,7 +272,8 @@ namespace Oxygen if( configuration().frameBorder() == Configuration::BorderNone && !isShade() ) { - return compositingActive() ? + if( configuration().hideTitleBar() ) return QRegion(); + else return compositingActive() ? helper().decoRoundedMask( frame, 1, 1, 1, 0 ): helper().roundedMask( frame, 1, 1, 1, 0 );