Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > macOS > XWindows-like focus in OSX?

XWindows-like focus in OSX?
Thread Tools
pknoll
Fresh-Faced Recruit
Join Date: Sep 2003
Status: Offline
Reply With Quote
Feb 25, 2004, 01:36 PM
 
I did a search here and on the web, but didn't really find anything useful. =)

So! Is there a hidden setting or hack that will let OS X use XWindows-style focus behaviour like click-to-raise, focus follows mouse, and that sort of thing?

I love OS X but I miss being able to type into background windows and other sorts of oddness XWindows lets you do.
PowerMac G5 Dual 2.7GHz / 2GB / X800XT
PowerMac G3 400MHz / 896MB
PowerBook G4 1GHz / 1GB
iBook SE G3 466MHz / 576MB
     
Tsilou B.
Senior User
Join Date: May 2002
Location: Austria
Status: Offline
Reply With Quote
Feb 25, 2004, 04:30 PM
 
CodeTek VirtualDesktop Pro can do that. It only works with Cocoa and X11 windows, however.
( Last edited by Tsilou B.; Feb 25, 2004 at 10:35 PM. )
     
pknoll  (op)
Fresh-Faced Recruit
Join Date: Sep 2003
Status: Offline
Reply With Quote
Feb 25, 2004, 06:13 PM
 
Thanks, Tsilou, I'll check that out. Cocoa and X -might- be enough, depending on what's Carbon and what isn't. =)

For instance, Terminal.app? Carbon or no?
PowerMac G5 Dual 2.7GHz / 2GB / X800XT
PowerMac G3 400MHz / 896MB
PowerBook G4 1GHz / 1GB
iBook SE G3 466MHz / 576MB
     
stew
Senior User
Join Date: Oct 2001
Status: Offline
Reply With Quote
Feb 25, 2004, 07:43 PM
 
Won't that collide with the global menu bar? Say, I have an open terminal and want to select a menu item - how do I move the mouse up to the menu bar without hovering over the Desktop and with it activating the Finder's menu?


Stink different.
     
suthercd
Senior User
Join Date: Oct 2000
Location: Midwest
Status: Offline
Reply With Quote
Feb 25, 2004, 08:35 PM
 
If you use Terminal windows, entering
Code:
defaults write com.apple.Terminal FocusFollowsMouse -string YES
will implement that capability. To reset back to default values
Code:
defaults delete com.apple.Terminal FocusFollowsMouse
Craig
     
Tsilou B.
Senior User
Join Date: May 2002
Location: Austria
Status: Offline
Reply With Quote
Feb 25, 2004, 10:40 PM
 
Originally posted by pknoll:
Thanks, Tsilou, I'll check that out. Cocoa and X -might- be enough, depending on what's Carbon and what isn't. =)

For instance, Terminal.app? Carbon or no?
Terminal.app is Cocoa. To check if something is Cocoa or Carbon, drag the title bar of a window below the dock. If that is possible (the windows jumps back upwards only after you release the mouse button), it's a Cocoa application. Otherwise, it's Carbon
     
Developer
Addicted to MacNN
Join Date: Apr 2001
Location: europe
Status: Offline
Reply With Quote
Feb 26, 2004, 12:27 AM
 
Originally posted by Tsilou B.:
Terminal.app is Cocoa. To check if something is Cocoa or Carbon, drag the title bar of a window below the dock. If that is possible (the windows jumps back upwards only after you release the mouse button), it's a Cocoa application. Otherwise, it's Carbon
In Panther Carbon windows can have asynchronous window dragging so that's not a valid test.

Focus follows mouse is a bad thing in general and very bad on the Mac especially. If you mouse over the window of one application, and another one is in front with its menubar showing, and you press command-q which app is going to quit?
Nasrudin sat on a river bank when someone shouted to him from the opposite side: "Hey! how do I get across?" "You are across!" Nasrudin shouted back.
     
P
Moderator
Join Date: Apr 2000
Location: Gothenburg, Sweden
Status: Offline
Reply With Quote
Feb 26, 2004, 02:44 AM
 
As a guide, the Finder, the Dock and any app ported from Classic are Carbon. Most new apps are Cocoa. The border is also getting more fluid with every new system version.
     
ghotirking
Junior Member
Join Date: Feb 2004
Status: Offline
Reply With Quote
Feb 26, 2004, 03:45 AM
 
Originally posted by suthercd:
If you use Terminal windows, entering
Code:
defaults write com.apple.Terminal FocusFollowsMouse -string YES
will implement that capability. To reset back to default values
Code:
defaults delete com.apple.Terminal FocusFollowsMouse
Craig
Is there a resource (online or otherwise) that lists all the settings like this (all across the board, not just mouse/focus behavior).
I wouldn't know where to begin googling with what terminology...
     
Oneota
Professional Poster
Join Date: May 2000
Location: Urbandale, IA
Status: Offline
Reply With Quote
Feb 26, 2004, 09:49 AM
 
PKnoll -

You didn't, by any chance, graduate from a college in St. Peter with a degree in CS, didja? You seem awfully familiar.
"Yields a falsehood when preceded by its quotation" yields a falsehood when preceded by its quotation.
     
   
 
Forum Links
Forum 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 On
HTML code is Off
Top
Privacy Policy
All times are GMT -4. The time now is 02:38 PM.
All contents of these forums © 1995-2017 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.8 © 2000-2017, Jelsoft Enterprises Ltd.,