chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d78a28e
)
logind: fix "CanGraphical" attribute to return correct value
author
David Herrmann
<dh.herrmann@gmail.com>
Sat, 30 Nov 2013 10:37:32 +0000
(11:37 +0100)
committer
David Herrmann
<dh.herrmann@gmail.com>
Sun, 1 Dec 2013 11:17:08 +0000
(12:17 +0100)
We should return seat_can_graphical() instead of seat_can_tty() for the
public dbus CanGraphical attribute. This used to work, but the
dbus -> sd-bus conversion introduced this regression.
src/login/logind-seat-dbus.c
patch
|
blob
|
history
diff --git
a/src/login/logind-seat-dbus.c
b/src/login/logind-seat-dbus.c
index 76158e501bbabd0461232d5888b0028b3247f60c..23f975bca7ebae9c5630644a0b42ca77fccfe54f 100644
(file)
--- a/
src/login/logind-seat-dbus.c
+++ b/
src/login/logind-seat-dbus.c
@@
-103,7
+103,7
@@
static int property_get_can_graphical(
assert(reply);
assert(s);
- return sd_bus_message_append(reply, "b", seat_can_
tty
(s));
+ return sd_bus_message_append(reply, "b", seat_can_
graphical
(s));
}
static int property_get_sessions(