chiark / gitweb /
logind: fix Display property of user objects
authorLennart Poettering <lennart@poettering.net>
Mon, 19 May 2014 00:03:20 +0000 (09:03 +0900)
committerLennart Poettering <lennart@poettering.net>
Mon, 19 May 2014 00:03:20 +0000 (09:03 +0900)
commit952d32609f9bceee444fa2690afb4d28539b4b92
treed952a24f01c7f0727e68b29b26a6fdb74d86b8cc
parent2be6107255c3cf47bb5a9eddf2411953f29522e1
logind: fix Display property of user objects

When we dropped support for creating a per-user to the "main" X11
display we stopped returning useful data in the "Display" user property.
With this change this is fixed and we again expose an appropriate
(graphical session) in the property that is useful as the "main" one, if
one is needed.
src/login/logind-session.c
src/login/logind-session.h
src/login/logind-user-dbus.c
src/login/logind-user.c
src/login/logind-user.h