workspaces window flag is in WindowPrivate.h

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16477 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Jérôme Duval 2006-02-20 10:35:32 +00:00
parent 8369eefa1b
commit 16c5a6248e
2 changed files with 4 additions and 4 deletions

View File

@ -3,6 +3,8 @@ SubDir HAIKU_TOP src apps workspaces ;
SetSubDirSupportedPlatformsBeOSCompatible ;
AddSubDirSupportedPlatforms libbe_test ;
UsePrivateHeaders interface ;
Application Workspaces :
Workspaces.cpp
: be

View File

@ -33,9 +33,7 @@
#include <stdlib.h>
#include <string.h>
// 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)
{