summaryrefslogtreecommitdiff
path: root/src/login/logind-session.h
diff options
context:
space:
mode:
authorDavid Herrmann <dh.herrmann@gmail.com>2014-08-11 18:17:54 +0200
committerDavid Herrmann <dh.herrmann@gmail.com>2014-08-13 09:05:20 +0200
commit92683ad2e28c79891e4123d9a421b018dc58870c (patch)
treeaa328b2af406b3c1b4010e583d1e1d7b2905430c /src/login/logind-session.h
parent38de08a7e476bb78b02fa5480ca3d038eedd66e7 (diff)
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.
Diffstat (limited to 'src/login/logind-session.h')
-rw-r--r--src/login/logind-session.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/login/logind-session.h b/src/login/logind-session.h
index 2ab31828c..cb8514e58 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;