From 22bb6426cd8a017d3e7e72b5faa742728b5b3f82 Mon Sep 17 00:00:00 2001 From: Dennis Schafroth Date: Fri, 4 Nov 2011 13:06:48 +0100 Subject: [PATCH] Now also release termlist watch --- src/client.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/client.c b/src/client.c index b5ef75d..5df785d 100644 --- a/src/client.c +++ b/src/client.c @@ -180,6 +180,7 @@ void client_set_state(struct client *cl, enum client_state st) if (no_active == 0) { session_alert_watch(cl->session, SESSION_WATCH_SHOW); session_alert_watch(cl->session, SESSION_WATCH_BYTARGET); + session_alert_watch(cl->session, SESSION_WATCH_TERMLIST); session_alert_watch(cl->session, SESSION_WATCH_SHOW_PREF); } } @@ -551,6 +552,7 @@ void client_got_records(struct client *cl) client_unlock(cl); session_alert_watch(se, SESSION_WATCH_SHOW); session_alert_watch(se, SESSION_WATCH_BYTARGET); + session_alert_watch(se, SESSION_WATCH_TERMLIST); session_alert_watch(se, SESSION_WATCH_RECORD); client_lock(cl); } -- 1.7.10.4