From 8a17198258062d8c8b13cdd7390cf550bd593d4f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stephan=20A=C3=9Fmus?= Date: Thu, 4 Mar 2010 09:46:07 +0000 Subject: [PATCH] Fixed regression introduced in r35706. The decorator would not include the inner row/column of pixels of the resize knob anymore. (18 - 5 - 1 != 13) git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35754 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/servers/app/DefaultDecorator.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/servers/app/DefaultDecorator.cpp b/src/servers/app/DefaultDecorator.cpp index cb669bb02c..0ec5139a94 100644 --- a/src/servers/app/DefaultDecorator.cpp +++ b/src/servers/app/DefaultDecorator.cpp @@ -517,7 +517,7 @@ DefaultDecorator::GetFootprint(BRegion* region) if (fLook == B_DOCUMENT_WINDOW_LOOK) { // include the rectangular resize knob on the bottom right - float knobSize = kResizeKnobSize - fBorderWidth - 1.0; + float knobSize = kResizeKnobSize - fBorderWidth; region->Include(BRect(fFrame.right - knobSize, fFrame.bottom - knobSize, fFrame.right, fFrame.bottom)); }