aboutsummaryrefslogtreecommitdiff
path: root/src/Remember.cc
diff options
context:
space:
mode:
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++) {