From 4e78d3bc787d0f36f7a4c10dbb521b8514d563b2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stephan=20A=C3=9Fmus?= Date: Sat, 28 Mar 2009 18:05:16 +0000 Subject: [PATCH] Something is fishy with the pen location and graphics states. At first, this irritated me when drawing BShapes. Those are always offseted by the current pen location (to be compatible with BeOS). On first draw, it worked ok, on subsequent draws, no shape to be seen. Now I've noticed that ActivityMonitor does not draw it's offscreen view when placed on the Desktop. This seems to be the same issue. The BView is archiving a wrong penlocation. I've looked a bit around for the actual problem, but until I can find it, this patch fixes the replicant mode of ActivityMonitor. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29757 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/apps/activitymonitor/ActivityView.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/apps/activitymonitor/ActivityView.cpp b/src/apps/activitymonitor/ActivityView.cpp index 4dbde33ea0..e542842c04 100644 --- a/src/apps/activitymonitor/ActivityView.cpp +++ b/src/apps/activitymonitor/ActivityView.cpp @@ -1229,7 +1229,7 @@ ActivityView::_DrawHistory() view->Sync(); if (fOffscreen != NULL) { fOffscreen->Unlock(); - DrawBitmap(fOffscreen); + DrawBitmap(fOffscreen, B_ORIGIN); } }