From 1be3653a7b5a07191caf1bc0729c31afb02633ed Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Axel=20D=C3=B6rfler?= Date: Sun, 11 Sep 2011 13:45:01 +0000 Subject: [PATCH] * 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 --- src/apps/deskcalc/CalcWindow.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/apps/deskcalc/CalcWindow.cpp b/src/apps/deskcalc/CalcWindow.cpp index 30ccfd1afa..51204b0dfe 100644 --- a/src/apps/deskcalc/CalcWindow.cpp +++ b/src/apps/deskcalc/CalcWindow.cpp @@ -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