fixed remove workspace bug
fluxgen fluxgen
1 files changed,
5 insertions(+),
1 deletions(-)
jump to
M
src/Screen.cc
→
src/Screen.cc
@@ -877,11 +877,15 @@ wkspc->removeAll();
//remove last workspace m_workspaces_list.pop_back(); - delete wkspc; + updateNetizenWorkspaceCount(); saveWorkspaces(m_workspaces_list.size()); + // must be deleted after we send notify!! + // so we dont get bad pointers somewhere + // while processing the notify signal + delete wkspc; return m_workspaces_list.size(); }