How to get the pid of the focused window on GNOME (Wayland)

Viewed 156
xdotool getactivewindow getwindowpid

I tried this. But it's not working on Wayland. As far as i know. There is no focus window concept on Wayland. So can I get it from Mutter or GNOME-Shell?

0 Answers
Related