Highlight the focused window by desaturating all other windows
Note: Binary files aren't shown on the web site. To see all files, please download the extension zipfile.
Please don't store any instance of objects in a property in the default class you are exporting (line 8 `prefs.js`) that won't allow the garbage collector to do its job after window close. To fix that, you can attach it to the `window`: [Extensions Guide: Preferences](https://gjs.guide/extensions/development/preferences.html#prefs-js) If you need any help with your extension you can ask us on: - [GNOME Extensions Matrix Channel](https://matrix.to/#/#extensions:gnome.org) - IRC Bridge: irc://irc.gimpnet.org/shell-extensions
Then I suggest you change the GJS guide, I used the code from here: https://gjs.guide/extensions/development/typescript.html#prefs-ts Would it be ok to not store the GSettings instance and ave it just be a local variable?
Thanks for the report. You can make it local if it's not getting garbage collected before window close.
btw, you can also clean up like this: ```js window.connect('close-request', () => { // clean up here }); ```
thanks!