2021-03-31 16:24:19 +00:00
|
|
|
From ebb37f81c28aaa80acd9187a7d77dcb3cb3828db Mon Sep 17 00:00:00 2001
|
2020-10-26 20:26:40 +00:00
|
|
|
From: Thomas Tuegel <ttuegel@mailbox.org>
|
|
|
|
Date: Mon, 26 Oct 2020 21:21:38 +0100
|
2021-03-31 16:24:19 +00:00
|
|
|
Subject: [PATCH 18/19] logind-seat-debus: show CanMultiSession again
|
2020-10-26 20:26:40 +00:00
|
|
|
|
|
|
|
Fixes the "switch user" function in Plasma < 5.20.
|
|
|
|
---
|
|
|
|
src/login/logind-seat-dbus.c | 2 +-
|
|
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
|
2020-10-04 11:34:13 +00:00
|
|
|
diff --git a/src/login/logind-seat-dbus.c b/src/login/logind-seat-dbus.c
|
2020-11-01 14:35:11 +00:00
|
|
|
index a60ed2d3c2..69b6271075 100644
|
2020-10-04 11:34:13 +00:00
|
|
|
--- a/src/login/logind-seat-dbus.c
|
|
|
|
+++ b/src/login/logind-seat-dbus.c
|
2020-11-01 14:35:11 +00:00
|
|
|
@@ -450,7 +450,7 @@ static const sd_bus_vtable seat_vtable[] = {
|
2020-10-04 11:34:13 +00:00
|
|
|
|
|
|
|
SD_BUS_PROPERTY("Id", "s", NULL, offsetof(Seat, id), SD_BUS_VTABLE_PROPERTY_CONST),
|
|
|
|
SD_BUS_PROPERTY("ActiveSession", "(so)", property_get_active_session, 0, SD_BUS_VTABLE_PROPERTY_EMITS_CHANGE),
|
|
|
|
- SD_BUS_PROPERTY("CanMultiSession", "b", property_get_const_true, 0, SD_BUS_VTABLE_PROPERTY_CONST|SD_BUS_VTABLE_HIDDEN),
|
|
|
|
+ SD_BUS_PROPERTY("CanMultiSession", "b", property_get_const_true, 0, SD_BUS_VTABLE_PROPERTY_CONST),
|
|
|
|
SD_BUS_PROPERTY("CanTTY", "b", property_get_can_tty, 0, SD_BUS_VTABLE_PROPERTY_CONST),
|
|
|
|
SD_BUS_PROPERTY("CanGraphical", "b", property_get_can_graphical, 0, SD_BUS_VTABLE_PROPERTY_EMITS_CHANGE),
|
|
|
|
SD_BUS_PROPERTY("Sessions", "a(so)", property_get_sessions, 0, 0),
|
2020-10-26 20:26:40 +00:00
|
|
|
--
|
2021-03-31 16:24:19 +00:00
|
|
|
2.30.1
|
2020-10-26 20:26:40 +00:00
|
|
|
|