device-manager: drop seat abstraction

System Internals / Plymouth - Ray Strode [redhat.com] - 30 July 2015 15:03 UTC

The seat abstraction isn't really right, since it forces creating a link between terminal and video output device, which isn't really necessary (and other reasons).

This commit drops the abstraction, and moves all the code that was in ply-seat.c directly to ply-device-manager.c.

c0ee947 device-manager: drop seat abstraction
src/libply-splash-core/Makefile.am | 2 -
src/libply-splash-core/ply-boot-splash.c | 249 +++++++------
src/libply-splash-core/ply-boot-splash.h | 15 +-
src/libply-splash-core/ply-device-manager.c | 501 ++++++++++++++++-----------
src/libply-splash-core/ply-device-manager.h | 34 +-
src/main.c | 221 ++++++++----
6 files changed, 594 insertions(+), 428 deletions(-)

Upstream: cgit.freedesktop.org


  • Share