LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
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.

Notices


Reply
  Search this Thread
Old 05-12-2005, 02:05 PM   #1
xray_fl
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.


Rob
 
  


Reply



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 01:03 PM
XFce New window focus on spawned process xray_fl Linux - Software 0 05-12-2005 07:03 AM
window focus thaprza Linux - Newbie 3 03-06-2005 03:25 PM
SDL window focus rebelcan Programming 1 10-06-2003 07:36 AM
Window focus/raising behavior jhaiduce Linux - Software 2 10-02-2003 07:20 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 08:23 AM.

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