mutter/src
Nishal Kulkarni c2efe25597 window: Add cgroup management to MetaWindow
Currently the only way to get cgroup for a MetaWindow is to get it's
PID and perform a bunch of file accesses and string manipulations.
This is especially not feasible if we want to get the cgroup every
time a MetaWindow has gained or lost focus.

A solution to this is to cache the GFile for a cgroup path.
The creation and access of this GFile is handled by
`meta_window_get_unit_cgroup` function.

`meta_window_unit_cgroup_equal` is a utility function which allows
us to compare whether two MetaWindows belong to the same cgroup.

Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1960>
2021-09-02 21:54:30 +00:00
..
backends backend: Clean up renderer after clutter backend 2021-08-31 16:41:11 +00:00
compositor window-actor/wayland: Remove subsurface actors on dispose 2021-09-02 21:14:18 +00:00
core window: Add cgroup management to MetaWindow 2021-09-02 21:54:30 +00:00
meta keybindings: Remove support for 'panel-main-menu' binding 2021-08-30 21:43:34 +00:00
tests tests/wayland: Test reattaching subsurface after parent was destroyed 2021-09-02 21:14:18 +00:00
ui main: Move rect related macro to util-private.h 2021-05-17 16:08:42 +00:00
wayland wayland/subsurface: Handle node unlinking on parent destroyed 2021-09-02 21:14:18 +00:00
x11 keybindings: Remove support for 'panel-main-menu' binding 2021-08-30 21:43:34 +00:00
libmutter.pc.in build: Fix libs and cflags in autotools .pc file 2018-11-10 16:20:46 +00:00
meson.build meson: Add optional libsystemd dependency 2021-09-02 21:54:30 +00:00
meta-private-enum-types.c.in core: Drop "volatile" from static GTypes in manual registration 2021-03-22 10:47:51 +00:00
meta-private-enum-types.h.in screen-cast: Add screen cast flag to streams 2020-07-30 09:51:16 +02: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 x11: Support the CTM (color transform matrix) RandR property 2021-01-11 13:44:54 +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 remote-desktop/session: Add CapsLockState and NumLockState properties 2021-03-04 17:39:08 +00:00
org.gnome.Mutter.ScreenCast.xml screen-cast/session: Introduce RecordVirtual D-Bus API 2021-03-12 15:09:45 +00:00