New window focus in XFce
Hello, I'm trying to launch an xterm from a Motif application running on a Linux box with XFce as the DE. I have the window settings as follows: Click to select and raise window, new programs get focus automatically.
I'm launching an xterm command from my app (fork/exec), and apparently XFce (XFwm?) doesn't think that it's a new process, since it is a child of my app. I just want it to end up on top, and stay there. With the WM set to 'mouse move focus' mode, it does pop to the top when it is spawned.
I can launch an xterm with the -e command to execute a command from the newly launched window, and launch a 2nd xterm window from the first, and IT does pop to the top -- go figure.
Any ideas whatsoever on how to do this would be great. In the end I need to launch an xterm and have it pop-to-top immediately, then stay on top of all other windows.
Any suggestions are greatly appreciated.