From 62572b22a6c8ae2be05664074ebe7f167ad5f8a7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Duval?= Date: Mon, 2 Jun 2008 20:53:46 +0000 Subject: [PATCH] HasBorder and HasTitle are exclusive, fix bug #2325 git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25770 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/apps/workspaces/Workspaces.cpp | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/apps/workspaces/Workspaces.cpp b/src/apps/workspaces/Workspaces.cpp index 5f0a5f9693..df2d6af154 100644 --- a/src/apps/workspaces/Workspaces.cpp +++ b/src/apps/workspaces/Workspaces.cpp @@ -554,8 +554,10 @@ WorkspacesWindow::MessageReceived(BMessage *message) if (enable) SetLook(B_TITLED_WINDOW_LOOK); - else + else { SetLook(B_NO_BORDER_WINDOW_LOOK); + fSettings->SetHasTitle(true); + } fSettings->SetHasBorder(enable); break; @@ -569,8 +571,10 @@ WorkspacesWindow::MessageReceived(BMessage *message) if (enable) SetLook(B_TITLED_WINDOW_LOOK); - else + else { SetLook(B_MODAL_WINDOW_LOOK); + fSettings->SetHasBorder(true); + } fSettings->SetHasTitle(enable); break;