From 16c5a6248ebb103f92b94f38afc839047f7cdce0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Duval?= Date: Mon, 20 Feb 2006 10:35:32 +0000 Subject: [PATCH] workspaces window flag is in WindowPrivate.h git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16477 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/apps/workspaces/Jamfile | 2 ++ src/apps/workspaces/Workspaces.cpp | 6 ++---- 2 files changed, 4 insertions(+), 4 deletions(-) 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) {