2013/2/28 Spoofing <ivan.gayevs...@gmail.com>: > When you change window, previous window freezes, and when you switch > back, then window process continues. > But what if you have a lot of the window with the same name. Necessary > to accurately define the process ID by name window ($[w.id]). How? > You can try to access the EWMH hint _NET_WM_PID but if you do so you should also check that the WM_CLIENT_MACHINE matches your host. You can proabley use something like if [ "$(hostname --fqdn)" = "$(xprop -id $[w.id] WM_CLIENT_MACHINE)" ] && [ 0 -lt 0$(xprop -id $[w.id] _NET_WM_PID) ] ; then kill -CONT $(xprop -id $[w.id] _NET_WM_PID) ; fi
/Viktor