summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/Screen.cc8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/Screen.cc b/src/Screen.cc
index 8dcf528..0d8937e 100644
--- a/src/Screen.cc
+++ b/src/Screen.cc
@@ -1033,6 +1033,14 @@ int BScreen::removeLastWorkspace() {
1033 1033
1034 wkspc->removeAll(wkspc->workspaceID()-1); 1034 wkspc->removeAll(wkspc->workspaceID()-1);
1035 1035
1036 Icons::iterator it = iconList().begin();
1037 const Icons::iterator it_end = iconList().end();
1038 for (; it != it_end; ++it) {
1039 if ((*it)->workspaceNumber() == wkspc->workspaceID())
1040 (*it)->setWorkspace(wkspc->workspaceID()-1);
1041 }
1042 m_clientlist_sig.notify();
1043
1036 //remove last workspace 1044 //remove last workspace
1037 m_workspaces_list.pop_back(); 1045 m_workspaces_list.pop_back();
1038 1046