aboutsummaryrefslogtreecommitdiff
path: root/src/Workspace.cc
diff options
context:
space:
mode:
authorrathnor <rathnor>2003-02-20 12:06:26 (GMT)
committerrathnor <rathnor>2003-02-20 12:06:26 (GMT)
commitc9ca55d85d2db08186a15155006fc4a7101b1e24 (patch)
tree1ec0b1b55071682c6d3b0c37eb1a79fa4c19d8c9 /src/Workspace.cc
parentc31e6d6804e0a9a87034a03a0d8cc2098a51eb1f (diff)
downloadfluxbox-c9ca55d85d2db08186a15155006fc4a7101b1e24.zip
fluxbox-c9ca55d85d2db08186a15155006fc4a7101b1e24.tar.bz2
fix clientmenu bug where remove last workspace would segfault
Diffstat (limited to 'src/Workspace.cc')
-rw-r--r--src/Workspace.cc3
1 files changed, 2 insertions, 1 deletions
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 @@
22// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 22// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
23// DEALINGS IN THE SOFTWARE. 23// DEALINGS IN THE SOFTWARE.
24 24
25// $Id: Workspace.cc,v 1.48 2003/02/17 02:40:00 fluxgen Exp $ 25// $Id: Workspace.cc,v 1.49 2003/02/20 12:06:26 rathnor Exp $
26 26
27#include "Workspace.hh" 27#include "Workspace.hh"
28 28
@@ -101,6 +101,7 @@ Workspace::Workspace(BScreen &scrn, FbTk::MultLayers &layermanager, unsigned int
101 m_id(i), 101 m_id(i),
102 cascade_x(32), cascade_y(32) { 102 cascade_x(32), cascade_y(32) {
103 103
104 m_clientmenu.setInternalMenu();
104 setName(screen.getNameOfWorkspace(m_id)); 105 setName(screen.getNameOfWorkspace(m_id));
105 106
106} 107}