mirror of
https://github.com/edu4rdshl/gnome-shell.git
synced 2026-07-18 07:34:54 +00:00
dbusServices/screensaver: Disable auto-shutdown
For the screensaver service, it is quite normal that a consumer only subscribes to the "ActiveChanged" signal without calling any methods. The result is that we don't know about the consumer, and shut down the service anyway after we hit the timeout. If this happens, we break functionality like gnome-settings-daemon's screen blanking on idle. Fix this by simply disabling auto-shutdown for the service, which also reflects the expectation that the screen saver service is always running in a GNOME session. https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/4114 Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1824>
This commit is contained in:
parent
724291de7f
commit
dedfdb6d0b
1 changed files with 2 additions and 0 deletions
|
|
@ -13,6 +13,8 @@ var ScreenSaverService = class extends ServiceImplementation {
|
|||
constructor() {
|
||||
super(ScreenSaverIface, '/org/gnome/ScreenSaver');
|
||||
|
||||
this._autoShutdown = false;
|
||||
|
||||
this._proxy = new ScreenSaverProxy(Gio.DBus.session,
|
||||
'org.gnome.Shell.ScreenShield',
|
||||
'/org/gnome/ScreenSaver',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue