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
===============================================================

Reply via email to