Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: X11 cmd-tab problem



On Wed,  3 Aug 2005 15:45:58 -0700 (PDT)
email@hidden wrote:

> X11 does not raise the windows if you CMD+Tab to it...
> To duplicate:
> 
> 
> 1) Open X11.app
> 2) Open some xterms
> 3) Open something else (Safari).
> 4) Bring Safari to the front
> 5) CMD+Tab or Click on the X11 Dock icon
> 
> 
> X11 now is 'active', and an xterm will have keyboard
> focus, but the window will not be brought to the
> foreground.
> 
> This is coppied from a previous post that I did not
> see a response to.  Is anyone NOT having this problem
> with X11 1.1 / Tiger?  Is this a bug?

I don't have this problem. I can't think of a reason why I don't have
this problem, except perhaps the differences between the stock xinitrc
file (/private/etc/X11/xinit/xinitrc) for Tiger's X11 and the
modified .xinitrc file inherited from my Panther installation. The
lines that are notably different are these (from Tiger):

if [ -f "$sysresources" ]; then
    xrdb -merge "$sysresources"
fi

if [ -f "$sysmodmap" ]; then
    xmodmap "$sysmodmap"
fi

if [ -f "$userresources" ]; then
    xrdb -merge "$userresources"
fi

if [ -f "$usermodmap" ]; then
    xmodmap "$usermodmap"
fi

In my .xinitrc, the quotes are not present:

if [ -f $sysresources ]; then
    xrdb -merge $sysresources
fi

if [ -f $sysmodmap ]; then
    xmodmap $sysmodmap
fi

if [ -f $userresources ]; then
    xrdb -merge $userresources
fi

if [ -f $usermodmap ]; then
    xmodmap $usermodmap
fi

The reason I suspect these lines as making a difference is that I did
try copying the /private/etc/X11/xinit/xinitrc file to my home folder
and using it as a basis for my .xinitrc, with disastrous results. :-\

JL

-- 
Trek Bits: Boldly Going Where No Trek Site Has Gone Before
<http://homepage.mac.com/m5comp/trekbits/>
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
X11-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/x11-users/email@hidden

This email sent to email@hidden



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.