From 97040a32addfaf9431707082c7cdb4120d5176af Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonas=20=C3=85dahl?= Date: Tue, 13 Dec 2022 11:01:09 +0100 Subject: [PATCH] Backport 'WindowsChanged' introspect signal Related: #2148362 --- ...introspect-Add-WindowsChanged-signal.patch | 51 +++++++++++++++ ...mit-tracked-windows-changed-on-title.patch | 64 +++++++++++++++++++ gnome-shell.spec | 8 ++- 3 files changed, 122 insertions(+), 1 deletion(-) create mode 100644 0001-introspect-Add-WindowsChanged-signal.patch create mode 100644 0001-window-tracker-Emit-tracked-windows-changed-on-title.patch diff --git a/0001-introspect-Add-WindowsChanged-signal.patch b/0001-introspect-Add-WindowsChanged-signal.patch new file mode 100644 index 0000000..68c57bf --- /dev/null +++ b/0001-introspect-Add-WindowsChanged-signal.patch @@ -0,0 +1,51 @@ +From eea9b9a0dac494698a64892bab8d042e7d623c9f Mon Sep 17 00:00:00 2001 +From: Cenk Uluisik +Date: Sun, 6 Mar 2022 19:32:48 +0100 +Subject: [PATCH] introspect: Add WindowsChanged signal + +The screencast portal supports recording a single window, +and presents a list of open windows when that option is +selected. To allow updating that list when windows are +opened or closed, add a new "WindowsChanged" signal that +the portal can listen to. + +Part-of: +--- + data/dbus-interfaces/org.gnome.Shell.Introspect.xml | 6 ++++++ + js/misc/introspect.js | 3 +++ + 2 files changed, 9 insertions(+) + +diff --git a/data/dbus-interfaces/org.gnome.Shell.Introspect.xml b/data/dbus-interfaces/org.gnome.Shell.Introspect.xml +index 47fd7efdc2..cb19cfec56 100644 +--- a/data/dbus-interfaces/org.gnome.Shell.Introspect.xml ++++ b/data/dbus-interfaces/org.gnome.Shell.Introspect.xml +@@ -18,6 +18,12 @@ + --> + + ++ ++ ++ +