diff options
Diffstat (limited to 'debian/patches/screencast-Correct-expected-bus-name-for-streams.patch')
-rw-r--r-- | debian/patches/screencast-Correct-expected-bus-name-for-streams.patch | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/debian/patches/screencast-Correct-expected-bus-name-for-streams.patch b/debian/patches/screencast-Correct-expected-bus-name-for-streams.patch new file mode 100644 index 0000000..85c5819 --- /dev/null +++ b/debian/patches/screencast-Correct-expected-bus-name-for-streams.patch @@ -0,0 +1,29 @@ +From: Simon McVittie <smcv@debian.org> +Date: Mon, 6 May 2024 21:58:09 +0100 +Subject: screencast: Correct expected bus name for streams +MIME-Version: 1.0 +Content-Type: text/plain; charset="utf-8" +Content-Transfer-Encoding: 8bit + +Previously, this only worked because GDBusConnection was not filtering +signals by their sender correctly (GNOME/glib#3268). + +Thanks: Alicia Boya GarcĂa +Signed-off-by: Simon McVittie <smcv@debian.org> +--- + js/dbusServices/screencast/screencastService.js | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/js/dbusServices/screencast/screencastService.js b/js/dbusServices/screencast/screencastService.js +index eb3dc88..901af34 100644 +--- a/js/dbusServices/screencast/screencastService.js ++++ b/js/dbusServices/screencast/screencastService.js +@@ -167,7 +167,7 @@ var Recorder = class { + }); + + this._streamProxy = new ScreenCastStreamProxy(Gio.DBus.session, +- 'org.gnome.ScreenCast.Stream', ++ 'org.gnome.Mutter.ScreenCast', + streamPath); + + this._streamProxy.connectSignal('PipeWireStreamAdded', |