aboutsummaryrefslogtreecommitdiff
path: root/src/Remember.cc
diff options
context:
space:
mode:
authorMark Tiefenbruck <mark@fluxbox.org>2008-08-20 12:26:12 (GMT)
committerMark Tiefenbruck <mark@fluxbox.org>2008-08-20 12:26:12 (GMT)
commit4bf00f68573f3ad172b879e78ad441e74a916e66 (patch)
treea79a73aec7b643f0252d1f678e0a8c1703070576 /src/Remember.cc
parent0fea3e3c8640888e4ae6e76775f309f290134aab (diff)
downloadfluxbox-4bf00f68573f3ad172b879e78ad441e74a916e66.zip
fluxbox-4bf00f68573f3ad172b879e78ad441e74a916e66.tar.bz2
fix match limits in apps file, plus some documentation
Diffstat (limited to 'src/Remember.cc')
-rw-r--r--src/Remember.cc10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/Remember.cc b/src/Remember.cc
index 43437f4..a1f5d62 100644
--- a/src/Remember.cc
+++ b/src/Remember.cc
@@ -1373,6 +1373,16 @@ void Remember::updateClientClose(WinClient &winclient) {
1373 checkReload(); // reload if it's changed 1373 checkReload(); // reload if it's changed
1374 Application *app = find(winclient); 1374 Application *app = find(winclient);
1375 1375
1376 if (app) {
1377 Patterns::iterator it = m_pats->begin();
1378 for (; it != m_pats->end(); it++) {
1379 if (it->second == app) {
1380 it->first->removeMatch();
1381 break;
1382 }
1383 }
1384 }
1385
1376 if (app && (app->save_on_close_remember && app->save_on_close)) { 1386 if (app && (app->save_on_close_remember && app->save_on_close)) {
1377 1387
1378 for (int attrib = 0; attrib < REM_LASTATTRIB; attrib++) { 1388 for (int attrib = 0; attrib < REM_LASTATTRIB; attrib++) {