hyprctl/layers: print pid for layershell clients (#9468)

Adds a `getPID()` fn to layershell to print it in `hyprctl layers`
This commit is contained in:
littleblack111 2025-02-26 23:03:06 +08:00 committed by GitHub
parent 6787fe8933
commit 01f4074421
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 20 additions and 4 deletions

View file

@ -61,6 +61,8 @@ class CLayerSurface {
std::string szNamespace = "";
UP<CPopup> popupHead;
pid_t getPID();
void onDestroy();
void onMap();
void onUnmap();