Often I'll open a program from terminal (gedit, or some software I'm working on, etc.) then press Alt+F4 to close the program... then press it again closing the terminal even though I'm not done with it.
Is there a way I can 'pin' a window so as to prevent it from closing, but easily be able to unpin it to close the window?