diff options
Diffstat (limited to 'src/libsystemd-terminal/sysview.c')
-rw-r--r-- | src/libsystemd-terminal/sysview.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/libsystemd-terminal/sysview.c b/src/libsystemd-terminal/sysview.c index 919fadf6fe..70a6ca726c 100644 --- a/src/libsystemd-terminal/sysview.c +++ b/src/libsystemd-terminal/sysview.c @@ -267,6 +267,12 @@ const char *sysview_session_get_name(sysview_session *session) { return session->name; } +sysview_seat *sysview_session_get_seat(sysview_session *session) { + assert_return(session, NULL); + + return session->seat; +} + static int session_take_control_fn(sd_bus *bus, sd_bus_message *reply, void *userdata, |