diff options
Diffstat (limited to 'src/Screen.cc')
-rw-r--r-- | src/Screen.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Screen.cc b/src/Screen.cc index 0589d2f..55517d8 100644 --- a/src/Screen.cc +++ b/src/Screen.cc | |||
@@ -1202,6 +1202,7 @@ int BScreen::addWorkspace() { | |||
1202 | addWorkspaceName(wkspc->name().c_str()); //update names | 1202 | addWorkspaceName(wkspc->name().c_str()); //update names |
1203 | 1203 | ||
1204 | saveWorkspaces(m_workspaces_list.size()); | 1204 | saveWorkspaces(m_workspaces_list.size()); |
1205 | workspaceCountSig().notify(); | ||
1205 | 1206 | ||
1206 | return m_workspaces_list.size(); | 1207 | return m_workspaces_list.size(); |
1207 | 1208 | ||
@@ -1231,6 +1232,7 @@ int BScreen::removeLastWorkspace() { | |||
1231 | m_workspaces_list.pop_back(); | 1232 | m_workspaces_list.pop_back(); |
1232 | 1233 | ||
1233 | saveWorkspaces(m_workspaces_list.size()); | 1234 | saveWorkspaces(m_workspaces_list.size()); |
1235 | workspaceCountSig().notify(); | ||
1234 | // must be deleted after we send notify!! | 1236 | // must be deleted after we send notify!! |
1235 | // so we dont get bad pointers somewhere | 1237 | // so we dont get bad pointers somewhere |
1236 | // while processing the notify signal | 1238 | // while processing the notify signal |