xwayland pid flatpak always wrong
openSUSE Tumbleweed latest flatpak git latest
Tools that get the pid from the window/surface/xwayland surface always report either 0 or 2 as PID (affected X11, wayland (xwayland flatpak)) wayland native work fine
wmctrl -lp
swaymsg -t get_tree | grep pid
Edited by Damian Ivanov