seat: use dummy session
authorDavid Herrmann <dh.herrmann@googlemail.com>
Thu, 18 Oct 2012 11:15:41 +0000 (13:15 +0200)
committerDavid Herrmann <dh.herrmann@googlemail.com>
Thu, 18 Oct 2012 11:15:41 +0000 (13:15 +0200)
commitebce60a86aade8aa4dfd73b3d2fc87924d92ec78
tree0111929abbbd93abd7fd0ea520b613f8bac5a3ad
parentd3b718f18766af8edb1cc5de0a004d9b2e3eaca1
seat: use dummy session

This makes the seat implementation register one dummy session as fallback.
This session isn't switched to except if no other session is available.
Furthermore, if the dummy is active and a new session is registered, it is
automatically activated.

External applications should never know of this dummy session. It's a
kmscon internal fallback so we can draw the screen even if there is no
other session available.

Signed-off-by: David Herrmann <dh.herrmann@googlemail.com>
src/kmscon_seat.c