diff --git a/docs/installers.rst b/docs/installers.rst index af9c60864..4f6ad9feb 100644 --- a/docs/installers.rst +++ b/docs/installers.rst @@ -1022,8 +1022,6 @@ Sysoptions ``disable_runtime`` (example: ``true``) -``disable_monitoring`` (example: ``true``) - ``disable_compositor`` (example: ``true``) ``reset_pulse`` (example: ``true``) diff --git a/lutris/game.py b/lutris/game.py index 15d2c3676..5303affae 100644 --- a/lutris/game.py +++ b/lutris/game.py @@ -440,18 +440,6 @@ class Game(GObject.Object): include_processes = shlex.split(system_config.get("include_processes", "")) exclude_processes = shlex.split(system_config.get("exclude_processes", "")) - monitoring_disabled = system_config.get("disable_monitoring") - if monitoring_disabled: - dialogs.ErrorDialog( - "The process monitor is disabled, Lutris " - "won't be able to keep track of the game status. " - "If this game requires the process monitor to be " - "disabled in order to run, please submit an " - "issue.\n" - "To disable this message, re-enable the process monitor" - ) - process_watch = not monitoring_disabled - if system_config.get("disable_compositor"): self.set_desktop_compositing(False) @@ -472,7 +460,7 @@ class Game(GObject.Object): runner=self.runner, env=env, rootpid=gameplay_info.get("rootpid"), - watch=process_watch, + watch=True, term=terminal, log_buffer=self.log_buffer, include_processes=include_processes, diff --git a/lutris/sysoptions.py b/lutris/sysoptions.py index 71efb5b66..76caa41d4 100644 --- a/lutris/sysoptions.py +++ b/lutris/sysoptions.py @@ -312,17 +312,6 @@ system_options = [ # pylint: disable=invalid-name " over the provided ones." ), }, - { - "option": "disable_monitoring", - "label": "Disable process monitor", - "type": "bool", - "default": False, - "advanced": True, - "help": ( - "Disables process monitoring of games, " - "Lutris won't detect when game quits." - ), - }, { "option": "disable_compositor", "label": "Disable desktop effects",