diff options
author | Eric Koegel <eric.koegel@gmail.com> | 2016-01-21 06:11:45 +0300 |
---|---|---|
committer | Eric Koegel <eric.koegel@gmail.com> | 2016-01-21 06:11:45 +0300 |
commit | e0362195ecb5e584ab35d15c63b9fdcb2a48ee9d (patch) | |
tree | 96f84b681cade18653b77b0fbd49db63eefce7c9 | |
parent | 009a0bf90163e41a5d439f4dfc25f7aa914f8e48 (diff) | |
parent | 718fccdcb00479da5f243af16a2cd0c1a563129f (diff) | |
download | ConsoleKit2-e0362195ecb5e584ab35d15c63b9fdcb2a48ee9d.tar.gz |
Merge pull request #60 from msekletar/active-session
When assigning session to active VT prefer graphical sessions
-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) { |