diff options
author | Henrik Kinnunen <fluxgen@fluxbox.org> | 2008-10-17 05:57:15 (GMT) |
---|---|---|
committer | Henrik Kinnunen <fluxgen@fluxbox.org> | 2008-10-17 05:57:15 (GMT) |
commit | 3d78c6368e2461f71bbf6e84fa9b2f819c546220 (patch) | |
tree | 8973d526f5c0dc957251e570dda4f10dcd32f5c6 | |
parent | b9466363b3a231ceb96ae757073f1b5efba5fc94 (diff) | |
download | fbpager-3d78c6368e2461f71bbf6e84fa9b2f819c546220.zip fbpager-3d78c6368e2461f71bbf6e84fa9b2f819c546220.tar.bz2 |
clear focused window when removing all windows
-rw-r--r-- | src/Workspace.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Workspace.cc b/src/Workspace.cc index 26ff1b0..c807637 100644 --- a/src/Workspace.cc +++ b/src/Workspace.cc | |||
@@ -224,6 +224,7 @@ void Workspace::removeAll() { | |||
224 | delete it->second; | 224 | delete it->second; |
225 | } | 225 | } |
226 | m_windowlist.clear(); | 226 | m_windowlist.clear(); |
227 | s_focused_window = 0; | ||
227 | } | 228 | } |
228 | 229 | ||
229 | ClientWindow Workspace::findClient(const FbTk::FbWindow &win) const { | 230 | ClientWindow Workspace::findClient(const FbTk::FbWindow &win) const { |