private meta_window_get_client_pid()



Hi Florian,

Is there a specific reason that Mutter's meta_window_get_client_pid() is private? As you pointed out in the commit message, the value returned by meta_window_get_pid() is invalid for Flatpak apps since they're in a private PID namespace.

I'm experimenting with a scheme to automatically stop and continue processes from Gnome Shell and it depends on meta_window_get_client_pid() to get the correct PIDs for Flatpak apps but I obviously only want to rely upon it if it can be made public.

Do you have any concerns with making the function public?

Thanks,
-Travis


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]