Patch mutter to expose get_client_pid() through MetaWindow introspection

This commit is contained in:
dma 2018-10-25 19:28:13 -04:00
parent 6b19f986f4
commit 3265eb2f6d
2 changed files with 11 additions and 0 deletions

View File

@ -0,0 +1,10 @@
--- a/src/meta/window.h 2018-03-12 18:45:19.000000000 +0000
+++ b/src/meta/window.h 2018-10-25 18:15:11.258297608 +0000
@@ -205,6 +205,7 @@
guint meta_window_get_stable_sequence (MetaWindow *window);
guint32 meta_window_get_user_time (MetaWindow *window);
int meta_window_get_pid (MetaWindow *window);
+guint32 meta_window_get_client_pid (MetaWindow *window);
const char *meta_window_get_client_machine (MetaWindow *window);
gboolean meta_window_is_remote (MetaWindow *window);
gboolean meta_window_is_attached_dialog (MetaWindow *window);

View File

@ -7,6 +7,7 @@ SRC_URI_append = "\
file://0001-remove-check-for-zenity.patch \
file://0002-avoid-unnecessary-relayouts-in-cluttertext.patch \
file://startup-notification.patch \
file://get_client_pid.patch \
"
DEPENDS = "libxrandr libsm libx11 libxi glib-2.0 wayland-protocols libwacom mesa gtk+3 pango cairo gsettings-desktop-schemas xcomposite upower gnome-desktop libxkbfile json-glib wayland-native xinerama zenity libinput libcanberra"