From 92683ad2e28c79891e4123d9a421b018dc58870c Mon Sep 17 00:00:00 2001 From: David Herrmann Date: Mon, 11 Aug 2014 18:17:54 +0200 Subject: login: share VT-signal handler between sessions sd-event does not allow multiple handlers for a single signal. However, logind sets up signal handlers for each session with VT_PROCESS set (that is, it has an active controller). Therefore, registering multiple such controllers will fail. Lets make the VT-handler global, as it's mostly trivial, anyway. This way, the sessions don't have to take care of that and we can simply acknowledge all VT-switch requests as we always did. --- src/login/logind-session.h | 1 - 1 file changed, 1 deletion(-) (limited to 'src/login/logind-session.h') diff --git a/src/login/logind-session.h b/src/login/logind-session.h index 2ab31828ce..cb8514e580 100644 --- a/src/login/logind-session.h +++ b/src/login/logind-session.h @@ -98,7 +98,6 @@ struct Session { Seat *seat; unsigned int vtnr; int vtfd; - sd_event_source *vt_source; pid_t leader; uint32_t audit_id; -- cgit v1.2.3-54-g00ecf