How may I restore the windows for a given pid? It would be useful in some situations where the window of a certain program disappears (happens to me sometimes).
For example, every time when i'm heading to close hexchat, it shows a dialog for confirmation. If i click cancel, the window is gone anyway, but the process continues running in the background. ( I can pgrep it's id ).
Is it possible to restore the window, given I know the pid?