diff options
author | Ryan Lortie <desrt@desrt.ca> | 2014-03-19 18:33:20 -0400 |
---|---|---|
committer | Ray Strode <rstrode@redhat.com> | 2014-03-19 18:32:33 -0400 |
commit | bbb0adfca5850306693e2c0b3594d01d65b1fd57 (patch) | |
tree | 1ae1ee15ee95a94ec56572740f4e7a89c7423f2e /daemon/gdm-session-worker.c | |
parent | aadcdc813497dc5cd58c79e37dd2501b259e41c1 (diff) | |
download | gdm-bbb0adfca5850306693e2c0b3594d01d65b1fd57.tar.gz |
session worker: fix one more _MODE_NEW_VT case
The previous patch missed one case of GDM_SESSION_DISPLAY_MODE_NEW_VT,
resulting in an undefined reference to jump_to_vt().
https://bugzilla.gnome.org/show_bug.cgi?id=726380
Diffstat (limited to 'daemon/gdm-session-worker.c')
-rw-r--r-- | daemon/gdm-session-worker.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/daemon/gdm-session-worker.c b/daemon/gdm-session-worker.c index 942fedce..39f14cf0 100644 --- a/daemon/gdm-session-worker.c +++ b/daemon/gdm-session-worker.c @@ -1806,12 +1806,14 @@ gdm_session_worker_start_session (GdmSessionWorker *worker, error_code = PAM_SUCCESS; +#ifdef ENABLE_WAYLAND_SUPPORT /* If we're in new vt mode, jump to the new vt now. There's no need to jump for * the other two modes: in the logind case, the session will activate itself when * ready, and in the reuse server case, we're already on the correct VT. */ if (worker->priv->display_mode == GDM_SESSION_DISPLAY_MODE_NEW_VT) { jump_to_vt (worker, worker->priv->session_vt); } +#endif session_pid = fork (); |