diff --git a/src/servers/app/ServerWindow.cpp b/src/servers/app/ServerWindow.cpp index b111791d48..8bf00290c6 100644 --- a/src/servers/app/ServerWindow.cpp +++ b/src/servers/app/ServerWindow.cpp @@ -2783,6 +2783,9 @@ ServerWindow::_DispatchViewDrawingMessage(int32 code, if (link.Read(&where) == B_OK) { ServerPicture* picture = App()->GetPicture(token); if (picture != NULL) { + // Setting the drawing origin outside of the + // state makes sure that everything the picture + // does is relative to the global picture offset. fCurrentView->PushState(); fCurrentView->SetDrawingOrigin(where);