summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDavid Herrmann <dh.herrmann@googlemail.com>2015-06-04 16:57:28 +0200
committerDavid Herrmann <dh.herrmann@googlemail.com>2015-06-04 16:57:28 +0200
commitdf9ae92ba2298e4644db57cfb361caef8dfc6645 (patch)
treef415531a1e82db1c04530ca6d379761f04444e2b /src
parent8604f39ccabee30bd710512081c199eb649f3191 (diff)
parent41dfeaa194c18de49706b5cecf4e53accd12b7f6 (diff)
Merge pull request #58 from pwithnall/wip/pwithnall/user-active-on-vt-switch
logind: Save the user’s state when a session enters SESSION_ACTIVE
Diffstat (limited to 'src')
-rw-r--r--src/login/logind-dbus.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/login/logind-dbus.c b/src/login/logind-dbus.c
index 10a9df0961..b272401e5b 100644
--- a/src/login/logind-dbus.c
+++ b/src/login/logind-dbus.c
@@ -2522,6 +2522,7 @@ int match_job_removed(sd_bus_message *message, void *userdata, sd_bus_error *err
session_jobs_reply(session, unit, result);
session_save(session);
+ user_save(session->user);
session_add_to_gc_queue(session);
}