chiark / gitweb /
logind: fix "CanGraphical" attribute to return correct value
authorDavid Herrmann <dh.herrmann@gmail.com>
Sat, 30 Nov 2013 10:37:32 +0000 (11:37 +0100)
committerDavid Herrmann <dh.herrmann@gmail.com>
Sun, 1 Dec 2013 11:17:08 +0000 (12:17 +0100)
commita0a6be9f6ab55ea76215c7fa4a5eab2235687348
tree69daea4f45d70d9874a68f2b50ac2ca4ac02a220
parentd78a28e3d7c8736d9addc2e45762d0f511ebbcdb
logind: fix "CanGraphical" attribute to return correct value

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