diff options
author | David Herrmann <dh.herrmann@gmail.com> | 2014-08-11 18:17:54 +0200 |
---|---|---|
committer | David Herrmann <dh.herrmann@gmail.com> | 2014-08-13 09:05:20 +0200 |
commit | 92683ad2e28c79891e4123d9a421b018dc58870c (patch) | |
tree | aa328b2af406b3c1b4010e583d1e1d7b2905430c /src/ac-power | |
parent | 38de08a7e476bb78b02fa5480ca3d038eedd66e7 (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/ac-power')
0 files changed, 0 insertions, 0 deletions