From 8408920712d392a61d087455dfab72743882ae74 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Revol?= Date: Wed, 7 Dec 2011 03:05:32 +0100 Subject: [PATCH] Fix rect calculation. Not sure what the intended height is though. 16 or 17? --- src/apps/workspaces/Workspaces.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/apps/workspaces/Workspaces.cpp b/src/apps/workspaces/Workspaces.cpp index 7b3f49fbfa..e7b99f9dd9 100644 --- a/src/apps/workspaces/Workspaces.cpp +++ b/src/apps/workspaces/Workspaces.cpp @@ -990,7 +990,7 @@ BView* instantiate_deskbar_item() if (width > 129) width = 129; - return new WorkspacesView(BRect (0, 0, width, height), false); + return new WorkspacesView(BRect (0, 0, width - 1, height - 1), false); }