From c9ca55d85d2db08186a15155006fc4a7101b1e24 Mon Sep 17 00:00:00 2001
From: rathnor <rathnor>
Date: Thu, 20 Feb 2003 12:06:26 +0000
Subject: fix clientmenu bug where remove last workspace would segfault

---
 src/Workspace.cc | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/Workspace.cc b/src/Workspace.cc
index a99b433..6015a37 100644
--- a/src/Workspace.cc
+++ b/src/Workspace.cc
@@ -22,7 +22,7 @@
 // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
 // DEALINGS IN THE SOFTWARE.
 
-// $Id: Workspace.cc,v 1.48 2003/02/17 02:40:00 fluxgen Exp $
+// $Id: Workspace.cc,v 1.49 2003/02/20 12:06:26 rathnor Exp $
 
 #include "Workspace.hh"
 
@@ -101,6 +101,7 @@ Workspace::Workspace(BScreen &scrn, FbTk::MultLayers &layermanager, unsigned int
     m_id(i),
     cascade_x(32), cascade_y(32) {
 
+    m_clientmenu.setInternalMenu();
     setName(screen.getNameOfWorkspace(m_id));
 
 }
-- 
cgit v0.11.2