B
bill
I'm finalizing a script that, during its operation, brings up an
editor, which, depending on the value of the $EDITOR environmental
variable, can cause a new X window for the editor to pop up.
Annoyingly, when this second window closes the original window that
spawned it does not get the focus back. This forces the user to
use the mouse, in what would otherwise be an entirely mouseless
interaction. Is there any trick to return the focus to the original
window after the temporary editor window has been closed?
Thanks,
-bill
editor, which, depending on the value of the $EDITOR environmental
variable, can cause a new X window for the editor to pop up.
Annoyingly, when this second window closes the original window that
spawned it does not get the focus back. This forces the user to
use the mouse, in what would otherwise be an entirely mouseless
interaction. Is there any trick to return the focus to the original
window after the temporary editor window has been closed?
Thanks,
-bill