diff options
Diffstat (limited to 'src/logind-session.c')
-rw-r--r-- | src/logind-session.c | 9 |
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) { |