diff options
author | Mark Tiefenbruck <mark@fluxbox.org> | 2008-08-20 12:26:12 (GMT) |
---|---|---|
committer | Mark Tiefenbruck <mark@fluxbox.org> | 2008-08-20 12:26:12 (GMT) |
commit | 4bf00f68573f3ad172b879e78ad441e74a916e66 (patch) | |
tree | a79a73aec7b643f0252d1f678e0a8c1703070576 /src/Remember.cc | |
parent | 0fea3e3c8640888e4ae6e76775f309f290134aab (diff) | |
download | fluxbox-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.cc | 10 |
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++) { |