New To Mac-Forums?

Welcome to our community! Join the discussion today by registering your FREE account. If you have any problems with the registration process, please contact us!

Get your questions answered by community gurus Advice and insight from world-class Apple enthusiasts Exclusive access to members-only contests, giveaways and deals

Join today!

 
Start a Discussion
 

Mac-Forums Brief

Subscribe to Mac-Forums Brief to receive special offers from Mac-Forums partners and sponsors

Join the conversation RSS
OS X - Apps and Games Discussion of applications and games available for Mac OS X.

X11/Emacs constantly stealing focus, driving me crazy


Post Reply New Thread Subscribe

 
Thread Tools
vrooje

 
Member Since: Sep 10, 2008
Posts: 1
vrooje is on a distinguished road

vrooje is offline
Hi all, first post here. I've searched for a problem like this and I didn't find much.

I often use my MacBook (running OSX 10.5.4) to ssh into my department (Linux) to work. I use Spaces and have X11 in the same space as my terminal, but my other apps (Firefox, Mail etc.) run in other spaces.

Whenever I have a remote emacs window open in X11, I find that X11 steals focus (and changes the active space to its space) quite often. I can sometimes go 15 minutes between incidents, but once it happens it tends to happen several times in a row (within seconds of one another).

This is driving me crazy because it happens so frequently, and I can't seem to figure out why it's doing it. My guess is that it's something involved with X11 keeping a persistent connection to emacs, but I really have no idea. I definitely don't think it's the auto-save feature of emacs, because it happens whether or not I have just saved whatever document I was working on in emacs.

Does anyone know how I can stop this? I'd really appreciate any suggestions.

Thanks!
QUOTE Thanks
shabbychef

 
Member Since: Nov 25, 2009
Posts: 1
shabbychef is on a distinguished road

shabbychef is offline
this drove me crazy too. I think I fixed it. from an X11 window:

bash-3.2$ defaults write org.x.X11 wm_ffm 1

you may also have to set wm_focus_on_new_window; to see all the defaults, do a

bash-3.2$ defaults read org.x.X11

hth,

(EDIT: I had the syntax reversed: 'read' or 'write' has to come before the domain...)
QUOTE Thanks

Post Reply New Thread Subscribe


« how to get Crossover games running Diablo 1 | Can Time Machine access the future? »
Thread Tools

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off
Forum Jump

Similar Threads
Thread
Thread Starter
Forum
Replies
Last Post
TrackPad on blackbook driving me crazy! tkim Apple Notebooks 0 08-20-2008 09:39 AM
Keychain Driving Me Crazy Steve1 OS X - Apps and Games 3 12-26-2007 11:28 AM
Driving me crazy! BethanyLieb Switcher Hangout 6 06-02-2007 03:09 PM
Clicking Sound Driving Me Crazy cweeds Music, Audio, and Podcasting 3 03-18-2007 08:58 AM
hello bhowle770 Schweb's Lounge 47 02-01-2003 10:18 PM

All times are GMT -4. The time now is 08:50 PM.

Powered by vBulletin
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
X

Welcome to Mac-Forums.com

Create your username to jump into the discussion!

New members like you have made this community the ultimate source for your Mac since 2003!


(4 digit year)

Already a member?