Modifying DISPLAY environment variable on-the-fly
I'm wondering if there is anyway to change the DISPLAY environment variable for a process on the fly - ie: redirect the output to another X server/screen.
I ask this because I have dual display set up with my Linux box, but not using Twinview, Xinerama, etc - xorg.conf is configured to have each display as a seperate X screen. With this configuration it's not possible to drag & drop between screens, which is fine - but I'd like a way to move a process to another screen without restarting it.
Is this possible?