Use session dbus even for user root
This should save us from having to deal with busconfig, see: https://github.com/xboxdrv/xboxdrv/issues/42 Fixes #42
This commit is contained in:
parent
419ac3586c
commit
575170d891
1 changed files with 1 additions and 8 deletions
|
@ -148,14 +148,7 @@ XboxdrvDaemon::run()
|
|||
switch(m_opts.dbus)
|
||||
{
|
||||
case Options::kDBusAuto:
|
||||
if (getuid() == 0)
|
||||
{
|
||||
dbus_bus_type = DBUS_BUS_SYSTEM;
|
||||
}
|
||||
else
|
||||
{
|
||||
dbus_bus_type = DBUS_BUS_SESSION;
|
||||
}
|
||||
dbus_bus_type = DBUS_BUS_SESSION;
|
||||
break;
|
||||
|
||||
case Options::kDBusSession:
|
||||
|
|
Loading…
Reference in a new issue