diff --git a/src/add-ons/input_server/methods/Jamfile b/src/add-ons/input_server/methods/Jamfile
index 86ab645803..039bad594e 100644
a
|
b
|
SubDir HAIKU_TOP src add-ons input_server methods ;
|
2 | 2 | |
3 | 3 | SubInclude HAIKU_TOP src add-ons input_server methods pen ; |
4 | 4 | SubInclude HAIKU_TOP src add-ons input_server methods t9 ; |
| 5 | SubInclude HAIKU_TOP src add-ons input_server methods xdk ; |
| 6 | No newline at end of file |
diff --git a/src/kits/interface/Window.cpp b/src/kits/interface/Window.cpp
index 89afdff9b7..ed291c818c 100644
a
|
b
|
BWindow::Zoom()
|
1761 | 1761 | if (zoomArea.Width() > maxZoomWidth) |
1762 | 1762 | zoomArea.InsetBy(roundf((zoomArea.Width() - maxZoomWidth) / 2), 0); |
1763 | 1763 | |
| 1764 | // the divide by two and round associated with inset toward center |
| 1765 | // can sometimes leave the width and/or height one pixel less than expected |
| 1766 | // and since .5 rounds down, it will be right and/or bottom that is short |
| 1767 | if (zoomArea.Width() < maxZoomWidth) |
| 1768 | zoomArea.right += 1; |
| 1769 | if (zoomArea.Height() < maxZoomHeight) |
| 1770 | zoomArea.bottom += 1; |
| 1771 | |
1764 | 1772 | // Un-Zoom |
1765 | 1773 | |
1766 | 1774 | if (fPreviousFrame.IsValid() |