diff options
author | Lennart Poettering <lennart@poettering.net> | 2014-05-19 09:03:20 +0900 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2014-05-19 09:03:20 +0900 |
commit | 952d32609f9bceee444fa2690afb4d28539b4b92 (patch) | |
tree | d952a24f01c7f0727e68b29b26a6fdb74d86b8cc /src/login/logind-user.h | |
parent | 2be6107255c3cf47bb5a9eddf2411953f29522e1 (diff) |
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.
Diffstat (limited to 'src/login/logind-user.h')
-rw-r--r-- | src/login/logind-user.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/login/logind-user.h b/src/login/logind-user.h index f237d2a6b9..4e0568fea9 100644 --- a/src/login/logind-user.h +++ b/src/login/logind-user.h @@ -80,6 +80,7 @@ int user_save(User *u); int user_load(User *u); int user_kill(User *u, int signo); int user_check_linger_file(User *u); +void user_elect_display(User *u); extern const sd_bus_vtable user_vtable[]; int user_node_enumerator(sd_bus *bus, const char *path, void *userdata, char ***nodes, sd_bus_error *error); |