diff options
Diffstat (limited to 'src/Remember.cc')
-rw-r--r-- | src/Remember.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/Remember.cc b/src/Remember.cc index 6dd636f..10aa52c 100644 --- a/src/Remember.cc +++ b/src/Remember.cc | |||
@@ -584,8 +584,8 @@ Application* findMatchingPatterns(ClientPattern *pat, Remember::Patterns *patlis | |||
584 | for (; it != it_end; ++it) { | 584 | for (; it != it_end; ++it) { |
585 | if (*it->first == *pat && is_group == it->second->is_grouped && | 585 | if (*it->first == *pat && is_group == it->second->is_grouped && |
586 | transient == it->second->is_transient && | 586 | transient == it->second->is_transient && |
587 | ((match_pat == 0 && *it->second->group_pattern == 0) || | 587 | ((match_pat == 0 && it->second->group_pattern == 0) || |
588 | (match_pat && *match_pat == **it->second->group_pattern))) { | 588 | (match_pat && *match_pat == *it->second->group_pattern))) { |
589 | 589 | ||
590 | Application *ret = it->second; | 590 | Application *ret = it->second; |
591 | 591 | ||
@@ -887,7 +887,7 @@ void Remember::save() { | |||
887 | grouped_apps.insert(&a); | 887 | grouped_apps.insert(&a); |
888 | // otherwise output this whole group | 888 | // otherwise output this whole group |
889 | apps_file << "[group]"; | 889 | apps_file << "[group]"; |
890 | if (*a.group_pattern) | 890 | if (a.group_pattern) |
891 | apps_file << " " << a.group_pattern->toString(); | 891 | apps_file << " " << a.group_pattern->toString(); |
892 | apps_file << endl; | 892 | apps_file << endl; |
893 | 893 | ||
@@ -1366,7 +1366,7 @@ FluxboxWindow *Remember::findGroup(Application *app, BScreen &screen) { | |||
1366 | for (; it != it_end; ++it) { | 1366 | for (; it != it_end; ++it) { |
1367 | if (it->second == app && it->first->fbwindow() && | 1367 | if (it->second == app && it->first->fbwindow() && |
1368 | &screen == &it->first->screen() && | 1368 | &screen == &it->first->screen() && |
1369 | (!*app->group_pattern || app->group_pattern->match(*it->first))) | 1369 | (!app->group_pattern || app->group_pattern->match(*it->first))) |
1370 | return it->first->fbwindow(); | 1370 | return it->first->fbwindow(); |
1371 | } | 1371 | } |
1372 | 1372 | ||