diff options
author | Michal Sekletar <msekleta@redhat.com> | 2016-01-15 15:29:46 +0100 |
---|---|---|
committer | Eric Koegel <eric.koegel@gmail.com> | 2016-03-19 18:15:08 +0300 |
commit | 416aa734c28555da90109ada78e11f24d8da599b (patch) | |
tree | 96f84b681cade18653b77b0fbd49db63eefce7c9 | |
parent | 7f277e8dadc3c33f02816e439cec031982617837 (diff) | |
download | ConsoleKit2-416aa734c28555da90109ada78e11f24d8da599b.tar.gz |
When assigning session to active VT prefer graphical sessions
I case when we launch graphical session on top of text session on the
same VT we want to mark newly created graphical session as active.
-rw-r--r-- | src/ck-seat.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ck-seat.c b/src/ck-seat.c index 47e6933..1f65a3c 100644 --- a/src/ck-seat.c +++ b/src/ck-seat.c @@ -536,9 +536,9 @@ find_session_for_display_device (CkSeat *seat, GList *sessions; CkSession *session; - sessions = find_sessions_for_display_device (seat, device); + sessions = find_sessions_for_x11_display_device (seat, device); if (sessions == NULL) { - sessions = find_sessions_for_x11_display_device (seat, device); + sessions = find_sessions_for_display_device (seat, device); } if (sessions == NULL) { |