chiark / gitweb /
logind: fix "CanGraphical" attribute to return correct value
[elogind.git] / src / login / logind-seat-dbus.c
index 76158e5..23f975b 100644 (file)
@@ -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(