Visit Jeremy's Blog.
Go Back > Forums > Non-*NIX Forums > Programming
User Name
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.


  Search this Thread
Old 05-12-2005, 03:05 PM   #1
LQ Newbie
Registered: May 2005
Location: Florida
Posts: 2

Rep: Reputation: 0
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.



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Problems setting the focus window steve_f60 Linux - General 1 10-25-2005 02:03 PM
XFce New window focus on spawned process xray_fl Linux - Software 0 05-12-2005 08:03 AM
window focus thaprza Linux - Newbie 3 03-06-2005 04:25 PM
SDL window focus rebelcan Programming 1 10-06-2003 08:36 AM
Window focus/raising behavior jhaiduce Linux - Software 2 10-02-2003 08:20 AM > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 03:03 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration