fix clientmenu bug where remove last workspace would segfault
rathnor rathnor
1 files changed,
2 insertions(+),
1 deletions(-)
jump to
M
src/Workspace.cc
→
src/Workspace.cc
@@ -22,7 +22,7 @@ // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
// 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 @@ m_name(""),
m_id(i), cascade_x(32), cascade_y(32) { + m_clientmenu.setInternalMenu(); setName(screen.getNameOfWorkspace(m_id)); }