* Made DeskCalc "not anchored on activate" meaning that instead of changing the

workspace to an already open DeskCalc, it moves to the current workspace
  instead. That's because you usually use DeskCalc in the context of another
  application (or just for a single use), so it makes little sense to have sort
  of a fixed workspace for it.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42738 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler
2011-09-11 13:45:01 +00:00
parent 8a0a741db6
commit 1be3653a7b
+2 -2
View File
@@ -1,5 +1,5 @@
/*
* Copyright 2006 Haiku, Inc. All Rights Reserved.
* Copyright 2006-2011 Haiku, Inc. All Rights Reserved.
* Copyright 1997, 1998 R3 Software Ltd. All Rights Reserved.
* Distributed under the terms of the MIT License.
*
@@ -29,7 +29,7 @@
CalcWindow::CalcWindow(BRect frame, BMessage* settings)
:
BWindow(frame, B_TRANSLATE_SYSTEM_NAME("DeskCalc"), B_TITLED_WINDOW,
B_ASYNCHRONOUS_CONTROLS)
B_ASYNCHRONOUS_CONTROLS | B_NOT_ANCHORED_ON_ACTIVATE)
{
// create calculator view with calculator description and
// desktop background color