On Sun, Aug 25, 2013 at 8:46 PM, David Herrmann <dh.herrm...@gmail.com> wrote:
> logind itselfs takes care of revoking device access for inactive sessions
> (synchronized with session-switches!). It also tries to resume every device
> when a session is activated. But session-devices must not be used to watch
> session state! A compositor has to use the PropertiesChanged() signal plus the
> "Active" property of sessions for that! Session-devices do not replace this! 
> On
> sessions with VTs, this is obviously replaced by the VT_SETMODE interface as
> usual.

So essentially, all clients have to keep implementing the old
VT_SETMODE interface in addition to the new logind one?

Would it be possible to ship a wrapper around VT_SETMODE and friends
so that new clients could only implement the logind interface, and
logind would deal with the VT layer internally (or rather, I suppose,
via some shim session daemon) when necessary?

-t
_______________________________________________
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Reply via email to