1
0
Fork 0
mutter-performance-source/src
Jonas Dreßler dac09a8e23 window: Use client PID for meta_window_get_pid()
The shell uses the PID of windows to map them to apps or to find out
which window/app triggered a dialog. It currently fails to do that in
some situations on Wayland, because meta_window_get_pid() only returns a
valid PID for x11 clients.

So use the client PID instead of the X11-exclusive _NET_WM_PID property
to find out the PID of the process that started the window. We can do
that by simply renaming the already existing
meta_window_get_client_pid() API to meta_window_get_pid() and moving
the old API providing the _NET_WM_PID to meta_window_get_netwm_pid().

https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1180
2020-05-21 23:10:23 +00:00
..
backends backends: Make uniform checks on remote desktop input dbus methods 2020-05-20 10:19:24 +00:00
compositor shaped-texture: Fix typo in documentation 2020-05-13 12:12:01 +02:00
core window: Use client PID for meta_window_get_pid() 2020-05-21 23:10:23 +00:00
meta window: Use client PID for meta_window_get_pid() 2020-05-21 23:10:23 +00:00
tests tests/clutter: Don't test BoxLayout's child properties 2020-05-21 15:49:31 +02:00
ui window/x11: Use G_DECLARE_DERIVABLE_TYPE() 2020-04-16 14:08:19 +02:00
wayland window: Use client PID for meta_window_get_pid() 2020-05-21 23:10:23 +00:00
x11 x11: Allow X11 clients to clear the selection 2020-04-21 21:32:53 +00:00
libmutter.pc.in build: Fix libs and cflags in autotools .pc file 2018-11-10 16:20:46 +00:00
meson.build wayland: Add support for wayland-protocols primary selection protocol 2020-05-13 18:27:46 +02:00
meta-marshal.list cursor-tracker: Use our own marshal for cursor-moved 2019-07-31 09:34:17 +00:00
org.freedesktop.login1.xml MetaLauncher: Don't g_error() on failure 2015-11-06 17:03:59 -05:00
org.gnome.Mutter.DisplayConfig.xml monitor-manager: Remove "supports-mirroring" from D-Bus desciption file 2020-05-08 06:50:16 +00:00
org.gnome.Mutter.IdleMonitor.xml idle-monitor: Add ResetIdletime API, for testing purposes 2018-04-16 13:28:03 +02:00
org.gnome.Mutter.RemoteDesktop.xml Fix typo in RemoteDesktop dbus api 2019-05-22 16:21:57 +02:00
org.gnome.Mutter.ScreenCast.xml screen-cast: Add RecordArea for screen cast arbitrary area 2020-04-23 14:45:53 +00:00