diff --git a/src/apps/workspaces/Jamfile b/src/apps/workspaces/Jamfile index 43fb643d9d..6f95448cef 100644 --- a/src/apps/workspaces/Jamfile +++ b/src/apps/workspaces/Jamfile @@ -3,6 +3,8 @@ SubDir HAIKU_TOP src apps workspaces ; SetSubDirSupportedPlatformsBeOSCompatible ; AddSubDirSupportedPlatforms libbe_test ; +UsePrivateHeaders interface ; + Application Workspaces : Workspaces.cpp : be diff --git a/src/apps/workspaces/Workspaces.cpp b/src/apps/workspaces/Workspaces.cpp index b195698736..08ed280a82 100644 --- a/src/apps/workspaces/Workspaces.cpp +++ b/src/apps/workspaces/Workspaces.cpp @@ -33,9 +33,7 @@ #include #include - -// here is the trick :) -static const uint32 kWorkspacesWindow = 0x00008000; +#include "WindowPrivate.h" static const char *kWorkspacesSignature = "application/x-vnd.Be-WORK"; static const char *kWorkspacesSettingFile = "Workspace_data"; @@ -193,7 +191,7 @@ WorkspacesPreferences::SetWindowFrame(BRect frame) WorkspacesWindow::WorkspacesWindow(WorkspacesPreferences *preferences) : BWindow(preferences->WindowFrame(), "Workspaces", B_TITLED_WINDOW_LOOK, B_NORMAL_WINDOW_FEEL, - kWorkspacesWindow | B_AVOID_FRONT | B_WILL_ACCEPT_FIRST_CLICK, + kWorkspacesWindowFlag | B_AVOID_FRONT | B_WILL_ACCEPT_FIRST_CLICK, B_ALL_WORKSPACES), fPreferences(preferences) {