Author: stippi Date: 2010-03-04 10:46:07 +0100 (Thu, 04 Mar 2010) New Revision: 35754 Changeset: http://dev.haiku-os.org/changeset/35754/haiku Modified: haiku/trunk/src/servers/app/DefaultDecorator.cpp Log: 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) Modified: haiku/trunk/src/servers/app/DefaultDecorator.cpp =================================================================== --- haiku/trunk/src/servers/app/DefaultDecorator.cpp 2010-03-04 09:43:04 UTC (rev 35753) +++ haiku/trunk/src/servers/app/DefaultDecorator.cpp 2010-03-04 09:46:07 UTC (rev 35754) @@ -517,7 +517,7 @@ 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)); }