From 9a2d0cf6ff30e0ff887f5aaaf45fc80fa1723dde Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Axel=20D=C3=B6rfler?= Date: Thu, 3 Jan 2008 10:13:21 +0000 Subject: [PATCH] Applied patch by Anthony Lee: the user was attached to the font manager too late, therefore, the DesktopSettings couldn't access user fonts. This fixes bug #1691, thanks! git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23230 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/servers/app/Desktop.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/servers/app/Desktop.cpp b/src/servers/app/Desktop.cpp index 1af7bd3794..c84973deb0 100644 --- a/src/servers/app/Desktop.cpp +++ b/src/servers/app/Desktop.cpp @@ -371,6 +371,8 @@ Desktop::Init() if (fSharedReadOnlyArea < B_OK) return fSharedReadOnlyArea; + gFontManager->AttachUser(fUserID); + fSettings = new DesktopSettingsPrivate(fServerReadOnlyMemory); for (int32 i = 0; i < kMaxWorkspaces; i++) { @@ -408,8 +410,6 @@ Desktop::Init() _RebuildClippingForAllWindows(stillAvailableOnScreen); _SetBackground(stillAvailableOnScreen); - gFontManager->AttachUser(fUserID); - SetCursor(NULL); // this will set the default cursor