From b09357e1b08f63ba32888e062780dc456ce62e27 Mon Sep 17 00:00:00 2001 From: Casper Boemann Date: Sun, 2 Dec 2007 16:38:38 +0000 Subject: [PATCH] Don't draw resize handles on windows that aren't resizable svn path=/trunk/KDE/kdebase/workspace/; revision=744065 --- clients/oxygen/oxygenclient.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/clients/oxygen/oxygenclient.cpp b/clients/oxygen/oxygenclient.cpp index 3c02c2af3b..42858f907c 100644 --- a/clients/oxygen/oxygenclient.cpp +++ b/clients/oxygen/oxygenclient.cpp @@ -404,6 +404,9 @@ void OxygenClient::paintEvent(QPaintEvent *e) painter.drawArc(QRectF(x+w-9-0.6, y+h-9-0.6, 9, 9), 270*16, 90*16); painter.drawLine(QPointF(x+4, y+h-0.6), QPointF(x+w-4, y+h-0.6)); + if(!isResizable()) + return; + // Draw the 3-dots resize handles qreal cenY = frame.height() / 2 + x + 0.5; qreal posX = frame.width() + y - 2.5;