RE: [opendx-users] Window focus on Macs

2004-12-21 Thread Giulio Antonutto
Joel,
soory for the delay,
here is the answer:

 Q: Is there an option for no-click-to-focus for X11 applications?
 A: Yes there is a hidden option. From an xterm or terminal execute :
defaults write com.apple.x11 wm_ffm true 

other informations are here:
http://developer.apple.com/qa/qa2001/qa1232.html



cheers!
giulio


 --
 From: Joel Richardson
 Reply To: opendx2-users@lists.berlios.de
 Sent: Friday, December 17, 2004 3:38 PM
 To:   opendx2-users@lists.berlios.de
 Subject:  [opendx-users] Window focus on Macs
 
 
 I've been running OpenDX on my Mac and mostly everything is great.
 My one problem is having to first click on a window to make it active, 
 before
 doing whatever in that window. Since working with OpenDX usually requires
 frequent switching between windows (control panels, dialog boxes, image 
 windows,
 etc.) all those extra clicks add up to a real pain. Even worse, focus 
 automatically
 switches to the image window on every execution, so activities like 
 stepping through
 values in a control panel becomes a truly frustrating experience.
 
 On my Sun box, this is not an issue, because I have it configured to 
 give focus to
 whichever window the mouse is over. I cannot find a way to do this on a
 Mac.
 (I'm running OS X 10.3.6, using Apple's X11 v.1.0 - based on XFree86 4.3.)
 
 Does anyone else have this problem, and is there a way around it?
 
 Thanks!
 Joel
 
 
 
___
Electronic mail messages entering and leaving Arup business
systems are scanned for acceptability of content and viruses.


Re: [opendx-users] Window focus on Macs

2004-12-19 Thread Joel Richardson

David,

That works perfectly. Thank you so much!

Joel

David Thompson wrote:


Joel,

This is the function of the quartz-wm Window manager. It is a pain 
especially for dx. I've changed my focus policy within the window 
manager so that it focuses on the window that the mouse is over 
immediately. It solves the problem you talk about with the ImageWindow 
always gaining focus. To do that, you need to add the key wm_ffm as 
true to the com.apple.x11.plist file in your ~/Library/Preferences 
file. I've read that it can be set using:


in terminal

defaults write com.apple.x11 xm_ffm true

then to delete the behavior if you don't like it,

defaults write com.apple.x11 delete wm_ffm

I didn't have any luck with this, so I editted the file by hand and 
added it.


Of course you will need to restart X11 whenever you change this file.

David


I've been running OpenDX on my Mac and mostly everything is great.
My one problem is having to first click on a window to make it 
active, before
doing whatever in that window. Since working with OpenDX usually 
requires
frequent switching between windows (control panels, dialog boxes, 
image windows,
etc.) all those extra clicks add up to a real pain. Even worse, focus 
automatically
switches to the image window on every execution, so activities like 
stepping through

values in a control panel becomes a truly frustrating experience.

On my Sun box, this is not an issue, because I have it configured to 
give focus to
whichever window the mouse is over. I cannot find a way to do this on 
a Mac.
(I'm running OS X 10.3.6, using Apple's X11 v.1.0 - based on XFree86 
4.3.)


Does anyone else have this problem, and is there a way around it?

Thanks!
Joel






--

===
Joel Richardson, Ph.D.   Phone: (207) 288-6435
The Jackson Laboratory   Fax:   (207) 288-6132
600 Main Street  URL:   www.informatics.jax.org
Bar Harbor, Maine 04609
===


[opendx-users] Window focus on Macs

2004-12-17 Thread Joel Richardson


I've been running OpenDX on my Mac and mostly everything is great.
My one problem is having to first click on a window to make it active, 
before

doing whatever in that window. Since working with OpenDX usually requires
frequent switching between windows (control panels, dialog boxes, image 
windows,
etc.) all those extra clicks add up to a real pain. Even worse, focus 
automatically
switches to the image window on every execution, so activities like 
stepping through

values in a control panel becomes a truly frustrating experience.

On my Sun box, this is not an issue, because I have it configured to 
give focus to

whichever window the mouse is over. I cannot find a way to do this on a Mac.
(I'm running OS X 10.3.6, using Apple's X11 v.1.0 - based on XFree86 4.3.)

Does anyone else have this problem, and is there a way around it?

Thanks!
Joel


Re: [opendx-users] Window focus on Macs

2004-12-17 Thread Chris Pelkie
I just looked and discovered I'm still using X11 Beta 3 - XFree86 4.2.1. This is on Jaguar 10.2.8 at this location (I have 10.3.5 at another, not sure which X11 there, probably the one that either came installed(?) from the factory or it would have been downloaded after late June 04).

I don't have the focus answer, but I thankfully don't have Image auto-raising either! I can have an Image next to or even partially covered by a Control Panel, in Execute on change, merrily banging away on the controls and watching the image update without it popping up.

Personally, I don't usually care for auto-raise/auto-focus, so I haven't looked for the answer but I'd experiment with that mode if someone tells me how.

On Friday, Dec 17, 2004, at 10:38 America/New_York, Joel Richardson wrote:

I've been running OpenDX on my Mac and mostly everything is great.
My one problem is having to first click on a window to make it active, before
doing whatever in that window. Since working with OpenDX usually requires
frequent switching between windows (control panels, dialog boxes, image windows,
etc.) all those extra clicks add up to a real pain. Even worse, focus automatically
switches to the image window on every execution, so activities like stepping through
values in a control panel becomes a truly frustrating experience.

On my Sun box, this is not an issue, because I have it configured to give focus to
whichever window the mouse is over. I cannot find a way to do this on a Mac.
(I'm running OS X 10.3.6, using Apple's X11 v.1.0 - based on XFree86 4.3.)

Does anyone else have this problem, and is there a way around it?

Thanks!
Joel


___
Chris Pelkie
Scientific Visualization Producer
622 Rhodes Hall, Cornell Theory Center
Ithaca, NY 14853


Re: [opendx-users] Window focus on Macs

2004-12-17 Thread David Thompson

Joel,

This is the function of the quartz-wm Window manager. It is a pain 
especially for dx. I've changed my focus policy within the window 
manager so that it focuses on the window that the mouse is over 
immediately. It solves the problem you talk about with the 
ImageWindow always gaining focus. To do that, you need to add the key 
wm_ffm as true to the com.apple.x11.plist file in your 
~/Library/Preferences file. I've read that it can be set using:


in terminal

defaults write com.apple.x11 xm_ffm true

then to delete the behavior if you don't like it,

defaults write com.apple.x11 delete wm_ffm

I didn't have any luck with this, so I editted the file by hand and added it.

Of course you will need to restart X11 whenever you change this file.

David


I've been running OpenDX on my Mac and mostly everything is great.
My one problem is having to first click on a window to make it active, before
doing whatever in that window. Since working with OpenDX usually requires
frequent switching between windows (control panels, dialog boxes, 
image windows,
etc.) all those extra clicks add up to a real pain. Even worse, 
focus automatically
switches to the image window on every execution, so activities like 
stepping through

values in a control panel becomes a truly frustrating experience.

On my Sun box, this is not an issue, because I have it configured to 
give focus to

whichever window the mouse is over. I cannot find a way to do this on a Mac.
(I'm running OS X 10.3.6, using Apple's X11 v.1.0 - based on XFree86 4.3.)

Does anyone else have this problem, and is there a way around it?

Thanks!
Joel



--
.
David L. Thompson   Visualization and Imagery Solutions, Inc.
mailto:[EMAIL PROTECTED]5515 Skyway Drive, Missoula, MT 59804
Phone : (406)756-7472