diff options
author | markt <markt> | 2007-11-08 02:06:33 (GMT) |
---|---|---|
committer | markt <markt> | 2007-11-08 02:06:33 (GMT) |
commit | 54317a01037fe203b6f202bd6cc63f33a234cd5c (patch) | |
tree | 06bdc2a7ed286dd235355e88b2fa043ef9d23ec3 /src | |
parent | 46c8e217ca8c5a51f987de2cb48c2aaabe3f6441 (diff) | |
download | fluxbox-54317a01037fe203b6f202bd6cc63f33a234cd5c.zip fluxbox-54317a01037fe203b6f202bd6cc63f33a234cd5c.tar.bz2 |
fix problem with stuck windows from previous patch
Diffstat (limited to 'src')
-rw-r--r-- | src/Screen.cc | 3 |
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()) { |