linuxmint / cinnamon-session

The Cinnamon session manager
GNU General Public License v2.0
26 stars 36 forks source link

autostart-app: don't try to add child watch to dbus activated #158

Closed leigh123linux closed 7 months ago

leigh123linux commented 7 months ago

services.

Based on https://github.com/GNOME/gnome-session/commit/dc0993025c27affde6ccb7eb51dfc14b4e9f3b08

If a service is dbus activated, then gnome-session isn't starting it directly and it makes no sense to try to create a child watch on it.

This commit ensures, child watches are only set up on apps that are started directly by gnome-session, which avoids generating a critical message in the log for each dbus activated app.

https://gitlab.gnome.org/GNOME/gnome-session/issues/14

leigh123linux commented 7 months ago

Fixes #157