Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F2900829
efl.diff
n3rdopolis (Nerdopolis Turfwalker)
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Author
n3rdopolis
Created
Dec 1 2017, 5:42 PM
Size
994 B
Mime Type
text/x-diff
Engine
local-disk
Format
Raw Data
Handle
55/9f/a4dc9ccefc2d917caa703ee4ea09
Attached To
T6455: There doesn't seem to be an obvious way to start Enlightenment on a different seat other than seat0
efl.diff
View Options
diff --git a/src/lib/elput/elput_logind.c b/src/lib/elput/elput_logind.c
index 842de225e8..8c76fac5d1 100644
--- a/src/lib/elput/elput_logind.c
+++ b/src/lib/elput/elput_logind.c
@@ -523,15 +523,18 @@ _logind_connect(Elput_Manager **manager, const char *seat, unsigned int tty)
goto seat_err;
}
- if (!_logind_session_vt_get(em->sid, &em->vt_num))
+ if (seat == "seat0")
{
- ERR("Could not get session vt");
- goto vt_err;
- }
- else if ((tty > 0) && (em->vt_num != tty))
- {
- ERR("Requested VT %u differs from session VT %u", tty, em->vt_num);
- goto vt_err;
+ if (!_logind_session_vt_get(em->sid, &em->vt_num))
+ {
+ ERR("Could not get session vt");
+ goto vt_err;
+ }
+ else if ((tty > 0) && (em->vt_num != tty))
+ {
+ ERR("Requested VT %u differs from session VT %u", tty, em->vt_num);
+ goto vt_err;
+ }
}
free(s);
Log In to Comment