diff --git a/docs/changelog.md b/docs/changelog.md index 2cc1e4c..ca72b39 100644 --- a/docs/changelog.md +++ b/docs/changelog.md @@ -1,5 +1,13 @@ # Changelog of the Burn-My-Windows Extension +## [Burn My Windows 17](https://github.com/schneegans/Burn-My-Windows/releases/tag/v17) + +**Release Date:** TBD + +#### New Features + +* An option has been added which allows to automatically disable all effects if running on battery power. + ## [Burn My Windows 16](https://github.com/schneegans/Burn-My-Windows/releases/tag/v16) **Release Date:** 2022-05-21 diff --git a/extension.js b/extension.js index b61f168..26cca45 100644 --- a/extension.js +++ b/extension.js @@ -73,6 +73,12 @@ class Extension { // We will use extensionThis to refer to the extension inside the patched methods. const extensionThis = this; + // This is used to get the battery state. + const UPowerProxy = Gio.DBusProxy.makeProxyWrapper( + utils.getStringResource('/interfaces/org.freedesktop.UPower.xml')); + this._upowerProxy = new UPowerProxy(Gio.DBus.system, 'org.freedesktop.UPower', + '/org/freedesktop/UPower'); + // We will monkey-patch these methods. Let's store the original ones. this._origAddWindowClone = Workspace.prototype._addWindowClone; this._origWindowRemoved = Workspace.prototype._windowRemoved; @@ -365,6 +371,13 @@ class Extension { return; } + // We may have to do nothing if running on battery power. + if (this._settings.get_boolean('disable-on-battery') && this._upowerProxy.OnBattery && + previewNick == '') { + this._fixAnimationTimes(isDialogWindow, forOpening, null); + return; + } + // There is the weird case where an animation is already ongoing. This happens when a // window is closed which has been created before the session was started (e.g. when // GNOME Shell has been restarted in the meantime). diff --git a/po/burn-my-windows.pot b/po/burn-my-windows.pot index c55a7b4..a93f228 100644 --- a/po/burn-my-windows.pot +++ b/po/burn-my-windows.pot @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: burn-my-windows\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-04-05 09:22+0200\n" +"POT-Creation-Date: 2022-05-25 12:59+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -17,105 +17,105 @@ msgstr "" "Content-Type: text/plain; charset=CHARSET\n" "Content-Transfer-Encoding: 8bit\n" -#: prefs.js:112 +#: prefs.js:113 msgid "Effect Options" msgstr "" -#: prefs.js:140 +#: prefs.js:141 msgid "Go Back" msgstr "" -#: prefs.js:182 +#: prefs.js:183 msgid "General Options" msgstr "" -#: prefs.js:276 +#: prefs.js:277 msgid "Gold Sponsors" msgstr "" -#: prefs.js:279 +#: prefs.js:280 msgid "Silver Sponsors" msgstr "" -#: prefs.js:282 +#: prefs.js:283 msgid "Bronze Sponsors" msgstr "" -#: prefs.js:285 +#: prefs.js:286 msgid "Past Sponsors" msgstr "" #. Translators: %s will be replaced by the effect's name. -#: prefs.js:510 +#: prefs.js:509 #, javascript-format msgid "Preview for %s" msgstr "" -#: prefs.js:532 +#: prefs.js:531 msgid "Close this Window to Preview the Effect!" msgstr "" -#: src/BrokenGlass.js:57 +#: src/BrokenGlass.js:138 msgid "Broken Glass" msgstr "" -#: src/TVEffect.js:56 +#: src/TVEffect.js:77 msgid "TV Effect" msgstr "" -#: src/TRexAttack.js:56 +#: src/TRexAttack.js:115 msgid "T-Rex Attack" msgstr "" -#: src/SnapOfDisintegration.js:60 +#: src/SnapOfDisintegration.js:117 msgid "Snap of Disintegration" msgstr "" -#: src/Wisps.js:55 +#: src/Wisps.js:85 msgid "Wisps" msgstr "" -#: src/Fire.js:58 +#: src/Fire.js:99 msgid "Fire" msgstr "" -#: src/Fire.js:130 +#: src/Fire.js:154 msgid "Default Fire" msgstr "" -#: src/Fire.js:140 +#: src/Fire.js:164 msgid "Hell Fire" msgstr "" -#: src/Fire.js:150 +#: src/Fire.js:174 msgid "Dark and Smutty" msgstr "" -#: src/Fire.js:160 +#: src/Fire.js:184 msgid "Cold Breeze" msgstr "" -#: src/Fire.js:170 +#: src/Fire.js:194 msgid "Santa is Coming" msgstr "" -#: src/Hexagon.js:53 +#: src/Hexagon.js:97 msgid "Hexagon" msgstr "" -#: src/EnergizeA.js:54 +#: src/EnergizeA.js:79 msgid "Energize A" msgstr "" -#: src/Apparition.js:57 +#: src/Apparition.js:80 msgid "Apparition" msgstr "" -#: src/EnergizeB.js:54 +#: src/EnergizeB.js:80 msgid "Energize B" msgstr "" -#: src/Matrix.js:58 +#: src/Matrix.js:113 msgid "Matrix" msgstr "" @@ -179,21 +179,22 @@ msgstr "" #: resources/ui/gtk4/Hexagon.ui:178 resources/ui/gtk4/Hexagon.ui:212 #: resources/ui/gtk4/Hexagon.ui:265 resources/ui/gtk4/EnergizeB.ui:52 #: resources/ui/gtk4/EnergizeB.ui:98 resources/ui/gtk4/EnergizeB.ui:132 -#: resources/ui/gtk4/prefs.ui:166 resources/ui/gtk4/Apparition.ui:52 -#: resources/ui/gtk4/Apparition.ui:98 resources/ui/gtk4/Apparition.ui:144 -#: resources/ui/gtk4/Apparition.ui:190 resources/ui/gtk4/Apparition.ui:236 -#: resources/ui/gtk3/Wisps.ui:68 resources/ui/gtk3/Wisps.ui:117 -#: resources/ui/gtk3/Wisps.ui:160 resources/ui/gtk3/Fire.ui:119 -#: resources/ui/gtk3/Fire.ui:167 resources/ui/gtk3/Fire.ui:215 -#: resources/ui/gtk3/Fire.ui:277 resources/ui/gtk3/Fire.ui:345 -#: resources/ui/gtk3/TVEffect.ui:61 resources/ui/gtk3/TVEffect.ui:104 -#: resources/ui/gtk3/EnergizeA.ui:68 resources/ui/gtk3/EnergizeA.ui:117 -#: resources/ui/gtk3/EnergizeA.ui:160 resources/ui/gtk3/Hexagon.ui:75 -#: resources/ui/gtk3/Hexagon.ui:124 resources/ui/gtk3/Hexagon.ui:173 -#: resources/ui/gtk3/Hexagon.ui:216 resources/ui/gtk3/Hexagon.ui:259 -#: resources/ui/gtk3/Hexagon.ui:321 resources/ui/gtk3/EnergizeB.ui:68 -#: resources/ui/gtk3/EnergizeB.ui:117 resources/ui/gtk3/EnergizeB.ui:160 -#: resources/ui/gtk3/prefs.ui:219 resources/ui/gtk3/Apparition.ui:89 +#: resources/ui/gtk4/prefs.ui:166 resources/ui/gtk4/prefs.ui:200 +#: resources/ui/gtk4/Apparition.ui:52 resources/ui/gtk4/Apparition.ui:98 +#: resources/ui/gtk4/Apparition.ui:144 resources/ui/gtk4/Apparition.ui:190 +#: resources/ui/gtk4/Apparition.ui:236 resources/ui/gtk3/Wisps.ui:68 +#: resources/ui/gtk3/Wisps.ui:117 resources/ui/gtk3/Wisps.ui:160 +#: resources/ui/gtk3/Fire.ui:119 resources/ui/gtk3/Fire.ui:167 +#: resources/ui/gtk3/Fire.ui:215 resources/ui/gtk3/Fire.ui:277 +#: resources/ui/gtk3/Fire.ui:345 resources/ui/gtk3/TVEffect.ui:61 +#: resources/ui/gtk3/TVEffect.ui:104 resources/ui/gtk3/EnergizeA.ui:68 +#: resources/ui/gtk3/EnergizeA.ui:117 resources/ui/gtk3/EnergizeA.ui:160 +#: resources/ui/gtk3/Hexagon.ui:75 resources/ui/gtk3/Hexagon.ui:124 +#: resources/ui/gtk3/Hexagon.ui:173 resources/ui/gtk3/Hexagon.ui:216 +#: resources/ui/gtk3/Hexagon.ui:259 resources/ui/gtk3/Hexagon.ui:321 +#: resources/ui/gtk3/EnergizeB.ui:68 resources/ui/gtk3/EnergizeB.ui:117 +#: resources/ui/gtk3/EnergizeB.ui:160 resources/ui/gtk3/prefs.ui:219 +#: resources/ui/gtk3/prefs.ui:263 resources/ui/gtk3/Apparition.ui:89 #: resources/ui/gtk3/Apparition.ui:138 resources/ui/gtk3/Apparition.ui:187 #: resources/ui/gtk3/Apparition.ui:236 resources/ui/gtk3/Apparition.ui:285 msgid "Reset to Default Value" @@ -342,6 +343,10 @@ msgstr "" msgid "Also Add Effects to Dialogs" msgstr "" +#: resources/ui/gtk4/prefs.ui:184 resources/ui/gtk3/prefs.ui:242 +msgid "Disable on Battery Power" +msgstr "" + #: resources/ui/gtk4/Apparition.ui:116 resources/ui/gtk3/Apparition.ui:161 msgid "Twirl Intensity" msgstr "" diff --git a/prefs.js b/prefs.js index bb45daa..ef0a373 100644 --- a/prefs.js +++ b/prefs.js @@ -14,7 +14,6 @@ 'use strict'; const {Gio, Gtk, Gdk, GLib, GObject} = imports.gi; -const ByteArray = imports.byteArray; // libadwaita is available starting with GNOME Shell 42. let Adw = null; @@ -95,7 +94,7 @@ var PreferencesDialog = class PreferencesDialog { // Bind general options properties. this.bindSwitch('destroy-dialogs'); - + this.bindSwitch('disable-on-battery'); // Starting with GNOME Shell 42, the settings dialog uses libadwaita (at least most of // the time - it seems that pop!_OS does not support libadwaita even on GNOME 42). We @@ -460,9 +459,7 @@ var PreferencesDialog = class PreferencesDialog { // Reads the contents of a JSON file contained in the global resources archive. The data // is parsed and returned as a JavaScript object / array. _getJSONResource(path) { - const data = Gio.resources_lookup_data(path, 0); - const string = ByteArray.toString(ByteArray.fromGBytes(data)); - return JSON.parse(string); + return JSON.parse(utils.getStringResource(path)); } // This traverses the widget tree below the given parent recursively and returns the diff --git a/resources/interfaces/org.freedesktop.UPower.xml b/resources/interfaces/org.freedesktop.UPower.xml new file mode 100644 index 0000000..aadb03f --- /dev/null +++ b/resources/interfaces/org.freedesktop.UPower.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/resources/ui/gtk3/prefs.ui b/resources/ui/gtk3/prefs.ui index 28859dd..02807ae 100644 --- a/resources/ui/gtk3/prefs.ui +++ b/resources/ui/gtk3/prefs.ui @@ -227,6 +227,50 @@ + + + 10 + 10 + 10 + 10 + 0 + + + 8 + + + Disable on Battery Power + 0 + start + center + 1 + + + + + end + center + + + + + + + edit-clear-symbolic + 1 + + + Reset to Default Value + + + + + + + + diff --git a/resources/ui/gtk4/prefs.ui b/resources/ui/gtk4/prefs.ui index 2b5778f..f9632da 100644 --- a/resources/ui/gtk4/prefs.ui +++ b/resources/ui/gtk4/prefs.ui @@ -174,6 +174,40 @@ + + + 0 + + + + + Disable on Battery Power + 0 + start + center + 1 + + + + + end + center + + + + + edit-clear-symbolic + Reset to Default Value + + + + + + + + diff --git a/schemas/org.gnome.shell.extensions.burn-my-windows.gschema.xml b/schemas/org.gnome.shell.extensions.burn-my-windows.gschema.xml index f852dad..7444661 100644 --- a/schemas/org.gnome.shell.extensions.burn-my-windows.gschema.xml +++ b/schemas/org.gnome.shell.extensions.burn-my-windows.gschema.xml @@ -13,6 +13,12 @@ Set to true to burn dialogs as well. + + false + Disable on Battery + Enable effects only if plugged in. + + "" Close Preview Effect diff --git a/src/utils.js b/src/utils.js index 9f528d8..b6fee63 100644 --- a/src/utils.js +++ b/src/utils.js @@ -13,7 +13,8 @@ 'use strict'; -const {Gtk} = imports.gi; +const {Gtk, Gio} = imports.gi; +const ByteArray = imports.byteArray; // Returns the given argument, except for "alpha", "beta", and "rc". In these cases -3, // -2, and -1 are returned respectively. @@ -83,4 +84,11 @@ function shellVersionIsAtLeast(major, minor) { } return false; +} + +// Reads the contents of a file contained in the global resources archive. The data +// is returned as a string. +function getStringResource(path) { + const data = Gio.resources_lookup_data(path, 0); + return ByteArray.toString(ByteArray.fromGBytes(data)); } \ No newline at end of file diff --git a/tests/references/apparition-close-gnome-wayland-nested-34.png b/tests/references/apparition-close-gnome-wayland-nested-34.png index 00865d6..eaa22bc 100644 Binary files a/tests/references/apparition-close-gnome-wayland-nested-34.png and b/tests/references/apparition-close-gnome-wayland-nested-34.png differ diff --git a/tests/references/apparition-close-gnome-wayland-nested-35.png b/tests/references/apparition-close-gnome-wayland-nested-35.png index 00865d6..eaa22bc 100644 Binary files a/tests/references/apparition-close-gnome-wayland-nested-35.png and b/tests/references/apparition-close-gnome-wayland-nested-35.png differ diff --git a/tests/references/apparition-close-gnome-wayland-nested-36.png b/tests/references/apparition-close-gnome-wayland-nested-36.png index 5de2e0f..b65e2fb 100644 Binary files a/tests/references/apparition-close-gnome-wayland-nested-36.png and b/tests/references/apparition-close-gnome-wayland-nested-36.png differ diff --git a/tests/references/apparition-close-gnome-xsession-34.png b/tests/references/apparition-close-gnome-xsession-34.png index 0c4510f..ac9fd4e 100644 Binary files a/tests/references/apparition-close-gnome-xsession-34.png and b/tests/references/apparition-close-gnome-xsession-34.png differ diff --git a/tests/references/apparition-close-gnome-xsession-35.png b/tests/references/apparition-close-gnome-xsession-35.png index 0c4510f..ac9fd4e 100644 Binary files a/tests/references/apparition-close-gnome-xsession-35.png and b/tests/references/apparition-close-gnome-xsession-35.png differ diff --git a/tests/references/apparition-open-gnome-wayland-nested-34.png b/tests/references/apparition-open-gnome-wayland-nested-34.png index 00865d6..eaa22bc 100644 Binary files a/tests/references/apparition-open-gnome-wayland-nested-34.png and b/tests/references/apparition-open-gnome-wayland-nested-34.png differ diff --git a/tests/references/apparition-open-gnome-wayland-nested-35.png b/tests/references/apparition-open-gnome-wayland-nested-35.png index 00865d6..eaa22bc 100644 Binary files a/tests/references/apparition-open-gnome-wayland-nested-35.png and b/tests/references/apparition-open-gnome-wayland-nested-35.png differ diff --git a/tests/references/apparition-open-gnome-wayland-nested-36.png b/tests/references/apparition-open-gnome-wayland-nested-36.png index 5de2e0f..b65e2fb 100644 Binary files a/tests/references/apparition-open-gnome-wayland-nested-36.png and b/tests/references/apparition-open-gnome-wayland-nested-36.png differ diff --git a/tests/references/apparition-open-gnome-xsession-34.png b/tests/references/apparition-open-gnome-xsession-34.png index 0c4510f..ac9fd4e 100644 Binary files a/tests/references/apparition-open-gnome-xsession-34.png and b/tests/references/apparition-open-gnome-xsession-34.png differ diff --git a/tests/references/apparition-open-gnome-xsession-35.png b/tests/references/apparition-open-gnome-xsession-35.png index 0c4510f..ac9fd4e 100644 Binary files a/tests/references/apparition-open-gnome-xsession-35.png and b/tests/references/apparition-open-gnome-xsession-35.png differ diff --git a/tests/references/broken-glass-close-gnome-wayland-nested-34.png b/tests/references/broken-glass-close-gnome-wayland-nested-34.png index 3667370..7f60f45 100644 Binary files a/tests/references/broken-glass-close-gnome-wayland-nested-34.png and b/tests/references/broken-glass-close-gnome-wayland-nested-34.png differ diff --git a/tests/references/broken-glass-close-gnome-wayland-nested-35.png b/tests/references/broken-glass-close-gnome-wayland-nested-35.png index 197457a..720c87b 100644 Binary files a/tests/references/broken-glass-close-gnome-wayland-nested-35.png and b/tests/references/broken-glass-close-gnome-wayland-nested-35.png differ diff --git a/tests/references/broken-glass-close-gnome-xsession-34.png b/tests/references/broken-glass-close-gnome-xsession-34.png index 3e9a253..fde4768 100644 Binary files a/tests/references/broken-glass-close-gnome-xsession-34.png and b/tests/references/broken-glass-close-gnome-xsession-34.png differ diff --git a/tests/references/broken-glass-close-gnome-xsession-35.png b/tests/references/broken-glass-close-gnome-xsession-35.png index 5752e89..19928dd 100644 Binary files a/tests/references/broken-glass-close-gnome-xsession-35.png and b/tests/references/broken-glass-close-gnome-xsession-35.png differ diff --git a/tests/references/broken-glass-open-gnome-wayland-nested-34.png b/tests/references/broken-glass-open-gnome-wayland-nested-34.png index 279568c..585da59 100644 Binary files a/tests/references/broken-glass-open-gnome-wayland-nested-34.png and b/tests/references/broken-glass-open-gnome-wayland-nested-34.png differ diff --git a/tests/references/broken-glass-open-gnome-wayland-nested-35.png b/tests/references/broken-glass-open-gnome-wayland-nested-35.png index b475277..2a92457 100644 Binary files a/tests/references/broken-glass-open-gnome-wayland-nested-35.png and b/tests/references/broken-glass-open-gnome-wayland-nested-35.png differ diff --git a/tests/references/broken-glass-open-gnome-xsession-34.png b/tests/references/broken-glass-open-gnome-xsession-34.png index ad5f25c..4337947 100644 Binary files a/tests/references/broken-glass-open-gnome-xsession-34.png and b/tests/references/broken-glass-open-gnome-xsession-34.png differ diff --git a/tests/references/broken-glass-open-gnome-xsession-35.png b/tests/references/broken-glass-open-gnome-xsession-35.png index a83c620..eb6e783 100644 Binary files a/tests/references/broken-glass-open-gnome-xsession-35.png and b/tests/references/broken-glass-open-gnome-xsession-35.png differ diff --git a/tests/references/energize-a-close-gnome-wayland-nested-34.png b/tests/references/energize-a-close-gnome-wayland-nested-34.png index 6d80d91..e40b7a7 100644 Binary files a/tests/references/energize-a-close-gnome-wayland-nested-34.png and b/tests/references/energize-a-close-gnome-wayland-nested-34.png differ diff --git a/tests/references/energize-a-close-gnome-wayland-nested-35.png b/tests/references/energize-a-close-gnome-wayland-nested-35.png index 6d80d91..e40b7a7 100644 Binary files a/tests/references/energize-a-close-gnome-wayland-nested-35.png and b/tests/references/energize-a-close-gnome-wayland-nested-35.png differ diff --git a/tests/references/energize-a-close-gnome-xsession-34.png b/tests/references/energize-a-close-gnome-xsession-34.png index f10cd01..9df91a4 100644 Binary files a/tests/references/energize-a-close-gnome-xsession-34.png and b/tests/references/energize-a-close-gnome-xsession-34.png differ diff --git a/tests/references/energize-a-close-gnome-xsession-35.png b/tests/references/energize-a-close-gnome-xsession-35.png index f10cd01..9df91a4 100644 Binary files a/tests/references/energize-a-close-gnome-xsession-35.png and b/tests/references/energize-a-close-gnome-xsession-35.png differ diff --git a/tests/references/energize-a-open-gnome-wayland-nested-34.png b/tests/references/energize-a-open-gnome-wayland-nested-34.png index df32f12..bf2c5b8 100644 Binary files a/tests/references/energize-a-open-gnome-wayland-nested-34.png and b/tests/references/energize-a-open-gnome-wayland-nested-34.png differ diff --git a/tests/references/energize-a-open-gnome-wayland-nested-35.png b/tests/references/energize-a-open-gnome-wayland-nested-35.png index df32f12..bf2c5b8 100644 Binary files a/tests/references/energize-a-open-gnome-wayland-nested-35.png and b/tests/references/energize-a-open-gnome-wayland-nested-35.png differ diff --git a/tests/references/energize-a-open-gnome-xsession-34.png b/tests/references/energize-a-open-gnome-xsession-34.png index 5a185d5..7ac05d8 100644 Binary files a/tests/references/energize-a-open-gnome-xsession-34.png and b/tests/references/energize-a-open-gnome-xsession-34.png differ diff --git a/tests/references/energize-a-open-gnome-xsession-35.png b/tests/references/energize-a-open-gnome-xsession-35.png index 5a185d5..7ac05d8 100644 Binary files a/tests/references/energize-a-open-gnome-xsession-35.png and b/tests/references/energize-a-open-gnome-xsession-35.png differ diff --git a/tests/references/energize-b-close-gnome-wayland-nested-34.png b/tests/references/energize-b-close-gnome-wayland-nested-34.png index 741d521..0da3426 100644 Binary files a/tests/references/energize-b-close-gnome-wayland-nested-34.png and b/tests/references/energize-b-close-gnome-wayland-nested-34.png differ diff --git a/tests/references/energize-b-close-gnome-wayland-nested-35.png b/tests/references/energize-b-close-gnome-wayland-nested-35.png index 741d521..0da3426 100644 Binary files a/tests/references/energize-b-close-gnome-wayland-nested-35.png and b/tests/references/energize-b-close-gnome-wayland-nested-35.png differ diff --git a/tests/references/energize-b-close-gnome-xsession-34.png b/tests/references/energize-b-close-gnome-xsession-34.png index ef0b5ef..72d2fa8 100644 Binary files a/tests/references/energize-b-close-gnome-xsession-34.png and b/tests/references/energize-b-close-gnome-xsession-34.png differ diff --git a/tests/references/energize-b-close-gnome-xsession-35.png b/tests/references/energize-b-close-gnome-xsession-35.png index ef0b5ef..72d2fa8 100644 Binary files a/tests/references/energize-b-close-gnome-xsession-35.png and b/tests/references/energize-b-close-gnome-xsession-35.png differ diff --git a/tests/references/energize-b-open-gnome-wayland-nested-34.png b/tests/references/energize-b-open-gnome-wayland-nested-34.png index d3b62d9..461c343 100644 Binary files a/tests/references/energize-b-open-gnome-wayland-nested-34.png and b/tests/references/energize-b-open-gnome-wayland-nested-34.png differ diff --git a/tests/references/energize-b-open-gnome-wayland-nested-35.png b/tests/references/energize-b-open-gnome-wayland-nested-35.png index d3b62d9..461c343 100644 Binary files a/tests/references/energize-b-open-gnome-wayland-nested-35.png and b/tests/references/energize-b-open-gnome-wayland-nested-35.png differ diff --git a/tests/references/energize-b-open-gnome-xsession-34.png b/tests/references/energize-b-open-gnome-xsession-34.png index efbbdfe..fe2d269 100644 Binary files a/tests/references/energize-b-open-gnome-xsession-34.png and b/tests/references/energize-b-open-gnome-xsession-34.png differ diff --git a/tests/references/energize-b-open-gnome-xsession-35.png b/tests/references/energize-b-open-gnome-xsession-35.png index efbbdfe..fe2d269 100644 Binary files a/tests/references/energize-b-open-gnome-xsession-35.png and b/tests/references/energize-b-open-gnome-xsession-35.png differ diff --git a/tests/references/fire-close-gnome-wayland-nested-34.png b/tests/references/fire-close-gnome-wayland-nested-34.png index 7c5b3f2..67ac459 100644 Binary files a/tests/references/fire-close-gnome-wayland-nested-34.png and b/tests/references/fire-close-gnome-wayland-nested-34.png differ diff --git a/tests/references/fire-close-gnome-wayland-nested-35.png b/tests/references/fire-close-gnome-wayland-nested-35.png index 7c5b3f2..67ac459 100644 Binary files a/tests/references/fire-close-gnome-wayland-nested-35.png and b/tests/references/fire-close-gnome-wayland-nested-35.png differ diff --git a/tests/references/fire-close-gnome-xsession-34.png b/tests/references/fire-close-gnome-xsession-34.png index da00512..21279da 100644 Binary files a/tests/references/fire-close-gnome-xsession-34.png and b/tests/references/fire-close-gnome-xsession-34.png differ diff --git a/tests/references/fire-close-gnome-xsession-35.png b/tests/references/fire-close-gnome-xsession-35.png index da00512..21279da 100644 Binary files a/tests/references/fire-close-gnome-xsession-35.png and b/tests/references/fire-close-gnome-xsession-35.png differ diff --git a/tests/references/fire-open-gnome-wayland-nested-34.png b/tests/references/fire-open-gnome-wayland-nested-34.png index 1b84cfe..95ef36a 100644 Binary files a/tests/references/fire-open-gnome-wayland-nested-34.png and b/tests/references/fire-open-gnome-wayland-nested-34.png differ diff --git a/tests/references/fire-open-gnome-wayland-nested-35.png b/tests/references/fire-open-gnome-wayland-nested-35.png index 1b84cfe..95ef36a 100644 Binary files a/tests/references/fire-open-gnome-wayland-nested-35.png and b/tests/references/fire-open-gnome-wayland-nested-35.png differ diff --git a/tests/references/fire-open-gnome-xsession-34.png b/tests/references/fire-open-gnome-xsession-34.png index 564104b..c29e82a 100644 Binary files a/tests/references/fire-open-gnome-xsession-34.png and b/tests/references/fire-open-gnome-xsession-34.png differ diff --git a/tests/references/fire-open-gnome-xsession-35.png b/tests/references/fire-open-gnome-xsession-35.png index 564104b..c29e82a 100644 Binary files a/tests/references/fire-open-gnome-xsession-35.png and b/tests/references/fire-open-gnome-xsession-35.png differ diff --git a/tests/references/hexagon-close-gnome-wayland-nested-34.png b/tests/references/hexagon-close-gnome-wayland-nested-34.png index 59c6138..7f6661d 100644 Binary files a/tests/references/hexagon-close-gnome-wayland-nested-34.png and b/tests/references/hexagon-close-gnome-wayland-nested-34.png differ diff --git a/tests/references/hexagon-close-gnome-wayland-nested-35.png b/tests/references/hexagon-close-gnome-wayland-nested-35.png index 59c6138..7f6661d 100644 Binary files a/tests/references/hexagon-close-gnome-wayland-nested-35.png and b/tests/references/hexagon-close-gnome-wayland-nested-35.png differ diff --git a/tests/references/hexagon-close-gnome-xsession-34.png b/tests/references/hexagon-close-gnome-xsession-34.png index 93d7db7..e685569 100644 Binary files a/tests/references/hexagon-close-gnome-xsession-34.png and b/tests/references/hexagon-close-gnome-xsession-34.png differ diff --git a/tests/references/hexagon-close-gnome-xsession-35.png b/tests/references/hexagon-close-gnome-xsession-35.png index 93d7db7..e685569 100644 Binary files a/tests/references/hexagon-close-gnome-xsession-35.png and b/tests/references/hexagon-close-gnome-xsession-35.png differ diff --git a/tests/references/hexagon-open-gnome-wayland-nested-34.png b/tests/references/hexagon-open-gnome-wayland-nested-34.png index 59c6138..7f6661d 100644 Binary files a/tests/references/hexagon-open-gnome-wayland-nested-34.png and b/tests/references/hexagon-open-gnome-wayland-nested-34.png differ diff --git a/tests/references/hexagon-open-gnome-wayland-nested-35.png b/tests/references/hexagon-open-gnome-wayland-nested-35.png index 59c6138..7f6661d 100644 Binary files a/tests/references/hexagon-open-gnome-wayland-nested-35.png and b/tests/references/hexagon-open-gnome-wayland-nested-35.png differ diff --git a/tests/references/hexagon-open-gnome-xsession-34.png b/tests/references/hexagon-open-gnome-xsession-34.png index 93d7db7..e685569 100644 Binary files a/tests/references/hexagon-open-gnome-xsession-34.png and b/tests/references/hexagon-open-gnome-xsession-34.png differ diff --git a/tests/references/hexagon-open-gnome-xsession-35.png b/tests/references/hexagon-open-gnome-xsession-35.png index 93d7db7..e685569 100644 Binary files a/tests/references/hexagon-open-gnome-xsession-35.png and b/tests/references/hexagon-open-gnome-xsession-35.png differ diff --git a/tests/references/matrix-close-gnome-wayland-nested-34.png b/tests/references/matrix-close-gnome-wayland-nested-34.png index d47a7b3..2a994e7 100644 Binary files a/tests/references/matrix-close-gnome-wayland-nested-34.png and b/tests/references/matrix-close-gnome-wayland-nested-34.png differ diff --git a/tests/references/matrix-close-gnome-wayland-nested-35.png b/tests/references/matrix-close-gnome-wayland-nested-35.png index f1e0901..89f7cb9 100644 Binary files a/tests/references/matrix-close-gnome-wayland-nested-35.png and b/tests/references/matrix-close-gnome-wayland-nested-35.png differ diff --git a/tests/references/matrix-close-gnome-xsession-34.png b/tests/references/matrix-close-gnome-xsession-34.png index f25bb21..c41f746 100644 Binary files a/tests/references/matrix-close-gnome-xsession-34.png and b/tests/references/matrix-close-gnome-xsession-34.png differ diff --git a/tests/references/matrix-close-gnome-xsession-35.png b/tests/references/matrix-close-gnome-xsession-35.png index c9deefd..b29a8d9 100644 Binary files a/tests/references/matrix-close-gnome-xsession-35.png and b/tests/references/matrix-close-gnome-xsession-35.png differ diff --git a/tests/references/matrix-open-gnome-wayland-nested-34.png b/tests/references/matrix-open-gnome-wayland-nested-34.png index 2fe003b..52e841c 100644 Binary files a/tests/references/matrix-open-gnome-wayland-nested-34.png and b/tests/references/matrix-open-gnome-wayland-nested-34.png differ diff --git a/tests/references/matrix-open-gnome-wayland-nested-35.png b/tests/references/matrix-open-gnome-wayland-nested-35.png index 3bd2103..34fe217 100644 Binary files a/tests/references/matrix-open-gnome-wayland-nested-35.png and b/tests/references/matrix-open-gnome-wayland-nested-35.png differ diff --git a/tests/references/matrix-open-gnome-xsession-34.png b/tests/references/matrix-open-gnome-xsession-34.png index 2e0fc8a..fd3cd00 100644 Binary files a/tests/references/matrix-open-gnome-xsession-34.png and b/tests/references/matrix-open-gnome-xsession-34.png differ diff --git a/tests/references/matrix-open-gnome-xsession-35.png b/tests/references/matrix-open-gnome-xsession-35.png index 08e7ecd..7e8ec5d 100644 Binary files a/tests/references/matrix-open-gnome-xsession-35.png and b/tests/references/matrix-open-gnome-xsession-35.png differ diff --git a/tests/references/snap-close-gnome-wayland-nested-34.png b/tests/references/snap-close-gnome-wayland-nested-34.png index 53deb6f..97887b5 100644 Binary files a/tests/references/snap-close-gnome-wayland-nested-34.png and b/tests/references/snap-close-gnome-wayland-nested-34.png differ diff --git a/tests/references/snap-close-gnome-wayland-nested-35.png b/tests/references/snap-close-gnome-wayland-nested-35.png index f2b4776..c037f7e 100644 Binary files a/tests/references/snap-close-gnome-wayland-nested-35.png and b/tests/references/snap-close-gnome-wayland-nested-35.png differ diff --git a/tests/references/snap-close-gnome-xsession-34.png b/tests/references/snap-close-gnome-xsession-34.png index 8903c1e..fe50435 100644 Binary files a/tests/references/snap-close-gnome-xsession-34.png and b/tests/references/snap-close-gnome-xsession-34.png differ diff --git a/tests/references/snap-close-gnome-xsession-35.png b/tests/references/snap-close-gnome-xsession-35.png index 03efe14..6d318d9 100644 Binary files a/tests/references/snap-close-gnome-xsession-35.png and b/tests/references/snap-close-gnome-xsession-35.png differ diff --git a/tests/references/snap-open-gnome-wayland-nested-34.png b/tests/references/snap-open-gnome-wayland-nested-34.png index a5e2f2d..649660a 100644 Binary files a/tests/references/snap-open-gnome-wayland-nested-34.png and b/tests/references/snap-open-gnome-wayland-nested-34.png differ diff --git a/tests/references/snap-open-gnome-wayland-nested-35.png b/tests/references/snap-open-gnome-wayland-nested-35.png index fa24b61..2119258 100644 Binary files a/tests/references/snap-open-gnome-wayland-nested-35.png and b/tests/references/snap-open-gnome-wayland-nested-35.png differ diff --git a/tests/references/snap-open-gnome-xsession-34.png b/tests/references/snap-open-gnome-xsession-34.png index 753b9ed..78e0fe5 100644 Binary files a/tests/references/snap-open-gnome-xsession-34.png and b/tests/references/snap-open-gnome-xsession-34.png differ diff --git a/tests/references/snap-open-gnome-xsession-35.png b/tests/references/snap-open-gnome-xsession-35.png index f4f4675..a858aed 100644 Binary files a/tests/references/snap-open-gnome-xsession-35.png and b/tests/references/snap-open-gnome-xsession-35.png differ diff --git a/tests/references/trex-close-gnome-wayland-nested-34.png b/tests/references/trex-close-gnome-wayland-nested-34.png index bed4006..bf6dd24 100644 Binary files a/tests/references/trex-close-gnome-wayland-nested-34.png and b/tests/references/trex-close-gnome-wayland-nested-34.png differ diff --git a/tests/references/trex-close-gnome-wayland-nested-35.png b/tests/references/trex-close-gnome-wayland-nested-35.png index 358a732..93be804 100644 Binary files a/tests/references/trex-close-gnome-wayland-nested-35.png and b/tests/references/trex-close-gnome-wayland-nested-35.png differ diff --git a/tests/references/trex-close-gnome-xsession-34.png b/tests/references/trex-close-gnome-xsession-34.png index 6bb57b8..7eace4c 100644 Binary files a/tests/references/trex-close-gnome-xsession-34.png and b/tests/references/trex-close-gnome-xsession-34.png differ diff --git a/tests/references/trex-close-gnome-xsession-35.png b/tests/references/trex-close-gnome-xsession-35.png index 632c14d..abc3996 100644 Binary files a/tests/references/trex-close-gnome-xsession-35.png and b/tests/references/trex-close-gnome-xsession-35.png differ diff --git a/tests/references/trex-open-gnome-wayland-nested-34.png b/tests/references/trex-open-gnome-wayland-nested-34.png index 1e5a00e..17d003a 100644 Binary files a/tests/references/trex-open-gnome-wayland-nested-34.png and b/tests/references/trex-open-gnome-wayland-nested-34.png differ diff --git a/tests/references/trex-open-gnome-wayland-nested-35.png b/tests/references/trex-open-gnome-wayland-nested-35.png index 7af72cf..9cdfdff 100644 Binary files a/tests/references/trex-open-gnome-wayland-nested-35.png and b/tests/references/trex-open-gnome-wayland-nested-35.png differ diff --git a/tests/references/trex-open-gnome-xsession-34.png b/tests/references/trex-open-gnome-xsession-34.png index 9e9bd83..7370c8d 100644 Binary files a/tests/references/trex-open-gnome-xsession-34.png and b/tests/references/trex-open-gnome-xsession-34.png differ diff --git a/tests/references/trex-open-gnome-xsession-35.png b/tests/references/trex-open-gnome-xsession-35.png index 6623887..c2e1263 100644 Binary files a/tests/references/trex-open-gnome-xsession-35.png and b/tests/references/trex-open-gnome-xsession-35.png differ diff --git a/tests/references/tv-close-gnome-wayland-nested-34.png b/tests/references/tv-close-gnome-wayland-nested-34.png index 1cfabf9..658ddd4 100644 Binary files a/tests/references/tv-close-gnome-wayland-nested-34.png and b/tests/references/tv-close-gnome-wayland-nested-34.png differ diff --git a/tests/references/tv-close-gnome-wayland-nested-35.png b/tests/references/tv-close-gnome-wayland-nested-35.png index 1cfabf9..658ddd4 100644 Binary files a/tests/references/tv-close-gnome-wayland-nested-35.png and b/tests/references/tv-close-gnome-wayland-nested-35.png differ diff --git a/tests/references/tv-close-gnome-xsession-34.png b/tests/references/tv-close-gnome-xsession-34.png index 3aadedf..4489162 100644 Binary files a/tests/references/tv-close-gnome-xsession-34.png and b/tests/references/tv-close-gnome-xsession-34.png differ diff --git a/tests/references/tv-close-gnome-xsession-35.png b/tests/references/tv-close-gnome-xsession-35.png index 3aadedf..4489162 100644 Binary files a/tests/references/tv-close-gnome-xsession-35.png and b/tests/references/tv-close-gnome-xsession-35.png differ diff --git a/tests/references/tv-open-gnome-wayland-nested-34.png b/tests/references/tv-open-gnome-wayland-nested-34.png index 2f8a2d6..78c8130 100644 Binary files a/tests/references/tv-open-gnome-wayland-nested-34.png and b/tests/references/tv-open-gnome-wayland-nested-34.png differ diff --git a/tests/references/tv-open-gnome-wayland-nested-35.png b/tests/references/tv-open-gnome-wayland-nested-35.png index 2f8a2d6..78c8130 100644 Binary files a/tests/references/tv-open-gnome-wayland-nested-35.png and b/tests/references/tv-open-gnome-wayland-nested-35.png differ diff --git a/tests/references/tv-open-gnome-xsession-34.png b/tests/references/tv-open-gnome-xsession-34.png index 1d8ea38..5a9fcee 100644 Binary files a/tests/references/tv-open-gnome-xsession-34.png and b/tests/references/tv-open-gnome-xsession-34.png differ diff --git a/tests/references/tv-open-gnome-xsession-35.png b/tests/references/tv-open-gnome-xsession-35.png index 1d8ea38..5a9fcee 100644 Binary files a/tests/references/tv-open-gnome-xsession-35.png and b/tests/references/tv-open-gnome-xsession-35.png differ diff --git a/tests/references/wisps-close-gnome-wayland-nested-34.png b/tests/references/wisps-close-gnome-wayland-nested-34.png index 44a4ced..8c3cec8 100644 Binary files a/tests/references/wisps-close-gnome-wayland-nested-34.png and b/tests/references/wisps-close-gnome-wayland-nested-34.png differ diff --git a/tests/references/wisps-close-gnome-wayland-nested-35.png b/tests/references/wisps-close-gnome-wayland-nested-35.png index 44a4ced..8c3cec8 100644 Binary files a/tests/references/wisps-close-gnome-wayland-nested-35.png and b/tests/references/wisps-close-gnome-wayland-nested-35.png differ diff --git a/tests/references/wisps-close-gnome-xsession-34.png b/tests/references/wisps-close-gnome-xsession-34.png index 72239f1..e1aac2f 100644 Binary files a/tests/references/wisps-close-gnome-xsession-34.png and b/tests/references/wisps-close-gnome-xsession-34.png differ diff --git a/tests/references/wisps-close-gnome-xsession-35.png b/tests/references/wisps-close-gnome-xsession-35.png index 72239f1..e1aac2f 100644 Binary files a/tests/references/wisps-close-gnome-xsession-35.png and b/tests/references/wisps-close-gnome-xsession-35.png differ diff --git a/tests/references/wisps-open-gnome-wayland-nested-34.png b/tests/references/wisps-open-gnome-wayland-nested-34.png index 13bf613..ebb152e 100644 Binary files a/tests/references/wisps-open-gnome-wayland-nested-34.png and b/tests/references/wisps-open-gnome-wayland-nested-34.png differ diff --git a/tests/references/wisps-open-gnome-wayland-nested-35.png b/tests/references/wisps-open-gnome-wayland-nested-35.png index 13bf613..ebb152e 100644 Binary files a/tests/references/wisps-open-gnome-wayland-nested-35.png and b/tests/references/wisps-open-gnome-wayland-nested-35.png differ diff --git a/tests/references/wisps-open-gnome-xsession-34.png b/tests/references/wisps-open-gnome-xsession-34.png index abb064e..7e6bafd 100644 Binary files a/tests/references/wisps-open-gnome-xsession-34.png and b/tests/references/wisps-open-gnome-xsession-34.png differ diff --git a/tests/references/wisps-open-gnome-xsession-35.png b/tests/references/wisps-open-gnome-xsession-35.png index abb064e..7e6bafd 100644 Binary files a/tests/references/wisps-open-gnome-xsession-35.png and b/tests/references/wisps-open-gnome-xsession-35.png differ