diff options
author | Kenny Levinsen <kl@kl.wtf> | 2020-10-10 19:39:28 +0200 |
---|---|---|
committer | Kenny Levinsen <kl@kl.wtf> | 2020-10-10 19:39:28 +0200 |
commit | daffed09551eef1d46a25a3ed83bef43ef31ebdb (patch) | |
tree | f7f2651014ff56c602c885696fa996cbeb190e6e /libseat/backend | |
parent | 7bf91a5f9fec57c798c1bb87ad6c2b71521f3188 (diff) |
logind: Use seat_path for SwitchTo
Diffstat (limited to 'libseat/backend')
-rw-r--r-- | libseat/backend/logind.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libseat/backend/logind.c b/libseat/backend/logind.c index 5afb77a..d6bbd94 100644 --- a/libseat/backend/logind.c +++ b/libseat/backend/logind.c @@ -164,7 +164,7 @@ static int switch_session(struct libseat *base, int s) { sd_bus_error error = SD_BUS_ERROR_NULL; int ret = sd_bus_call_method(session->bus, "org.freedesktop.login1", - "/org/freedesktop/login1/seat/seat0", + session->seat_path, "org.freedesktop.login1.Seat", "SwitchTo", &error, &msg, "u", (uint32_t)s); if (ret < 0) { |