diff options
Diffstat (limited to 'src/Screen.cc')
-rw-r--r-- | src/Screen.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Screen.cc b/src/Screen.cc index 154dd11..8dcf528 100644 --- a/src/Screen.cc +++ b/src/Screen.cc | |||
@@ -1031,7 +1031,7 @@ int BScreen::removeLastWorkspace() { | |||
1031 | if (m_current_workspace->workspaceID() == wkspc->workspaceID()) | 1031 | if (m_current_workspace->workspaceID() == wkspc->workspaceID()) |
1032 | changeWorkspaceID(m_current_workspace->workspaceID() - 1); | 1032 | changeWorkspaceID(m_current_workspace->workspaceID() - 1); |
1033 | 1033 | ||
1034 | wkspc->removeAll(); | 1034 | wkspc->removeAll(wkspc->workspaceID()-1); |
1035 | 1035 | ||
1036 | //remove last workspace | 1036 | //remove last workspace |
1037 | m_workspaces_list.pop_back(); | 1037 | m_workspaces_list.pop_back(); |