Window focus

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
 
T

Tad McClellan

bill said:
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?


Please ask X Windows questions in a newsgroup
about X windows (comp.windows.x.*).

Ask Perl questions here.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,156
Messages
2,570,878
Members
47,408
Latest member
AlenaRay88

Latest Threads

Top