LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
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
 
LinkBack 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


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
Trackbacks are Off
Pingbacks are On
Refbacks are 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


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

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration