summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/logind-session.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/logind-session.c b/src/logind-session.c
index 705b1e41cf..8e35e09069 100644
--- a/src/logind-session.c
+++ b/src/logind-session.c
@@ -511,13 +511,16 @@ int session_start(Session *s) {
/* Create X11 symlink */
session_link_x11_socket(s);
- /* Save session data */
- session_save(s);
-
dual_timestamp_get(&s->timestamp);
+ if (s->seat)
+ seat_read_active_vt(s->seat);
+
s->started = true;
+ /* Save session data */
+ session_save(s);
+
session_send_signal(s, true);
if (s->seat) {