From ea8c8b095246567e2b94f819868c1bf23ebb9767 Mon Sep 17 00:00:00 2001 From: Dennis Schafroth Date: Thu, 3 Nov 2011 11:09:46 +0100 Subject: [PATCH] Release BYTARGET watch --- src/client.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/client.c b/src/client.c index e17e604..ac5bda6 100644 --- a/src/client.c +++ b/src/client.c @@ -179,6 +179,7 @@ void client_set_state(struct client *cl, enum client_state st) client_get_id(cl), no_active); 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_SHOW_PREF); } } @@ -549,6 +550,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_RECORD); client_lock(cl); } -- 1.7.10.4