aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/Screen.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/Screen.cc b/src/Screen.cc
index 720efed..e618216 100644
--- a/src/Screen.cc
+++ b/src/Screen.cc
@@ -1218,8 +1218,7 @@ void BScreen::changeWorkspaceID(unsigned int id) {
1218 } 1218 }
1219 1219
1220 // reassociate all windows that are stuck to the new workspace 1220 // reassociate all windows that are stuck to the new workspace
1221 Workspace *wksp = currentWorkspace(); 1221 Workspace::Windows wins = old->windowList();
1222 Workspace::Windows wins = wksp->windowList();
1223 Workspace::Windows::iterator it = wins.begin(); 1222 Workspace::Windows::iterator it = wins.begin();
1224 for (; it != wins.end(); ++it) { 1223 for (; it != wins.end(); ++it) {
1225 if ((*it)->isStuck()) { 1224 if ((*it)->isStuck()) {