diff options
author | markt <markt> | 2007-10-24 17:09:26 (GMT) |
---|---|---|
committer | markt <markt> | 2007-10-24 17:09:26 (GMT) |
commit | f3afe787c1209cf1357493924a4f7eb7864def54 (patch) | |
tree | d0c0c3eca154ab538fbc1fb3c62081e9250c05bd /src/FbCommands.cc | |
parent | 74eb584a312aba21b21eccb6c49ade1571aa3740 (diff) | |
download | fluxbox_pavel-f3afe787c1209cf1357493924a4f7eb7864def54.zip fluxbox_pavel-f3afe787c1209cf1357493924a4f7eb7864def54.tar.bz2 |
introduced workspacename for ClientPattern, and some miscellaneous cleanup
Diffstat (limited to 'src/FbCommands.cc')
-rw-r--r-- | src/FbCommands.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/FbCommands.cc b/src/FbCommands.cc index 1d063e7..698f2db 100644 --- a/src/FbCommands.cc +++ b/src/FbCommands.cc | |||
@@ -277,7 +277,7 @@ void ShowClientMenuCmd::execute() { | |||
277 | return; | 277 | return; |
278 | 278 | ||
279 | // TODO: ClientMenu only accepts lists of FluxboxWindows for now | 279 | // TODO: ClientMenu only accepts lists of FluxboxWindows for now |
280 | FocusControl::Focusables *win_list = 0; | 280 | const FocusControl::Focusables *win_list = 0; |
281 | // if (m_option & FocusControl::CYCLEGROUPS) { | 281 | // if (m_option & FocusControl::CYCLEGROUPS) { |
282 | win_list = (m_option & FocusControl::CYCLELINEAR) ? | 282 | win_list = (m_option & FocusControl::CYCLELINEAR) ? |
283 | &screen->focusControl().creationOrderWinList() : | 283 | &screen->focusControl().creationOrderWinList() : |
@@ -289,8 +289,8 @@ void ShowClientMenuCmd::execute() { | |||
289 | } */ | 289 | } */ |
290 | 290 | ||
291 | m_list.clear(); | 291 | m_list.clear(); |
292 | FocusControl::Focusables::iterator it = win_list->begin(), | 292 | FocusControl::Focusables::const_iterator it = win_list->begin(), |
293 | it_end = win_list->end(); | 293 | it_end = win_list->end(); |
294 | for (; it != it_end; ++it) { | 294 | for (; it != it_end; ++it) { |
295 | if (typeid(**it) == typeid(FluxboxWindow) && m_pat.match(**it)) | 295 | if (typeid(**it) == typeid(FluxboxWindow) && m_pat.match(**it)) |
296 | m_list.push_back(static_cast<FluxboxWindow *>(*it)); | 296 | m_list.push_back(static_cast<FluxboxWindow *>(*it)); |