Oh well, if there's anything I can do to try to track down the issue I would love to help. I see the issue all the time, and have for years (on 10.8/7/6, probably 10.5, before that my memory of X11 releases is very vague). I am generally am only running urxvt sessions so my X11 setup is pretty simple.
Thanks, Brian On Dec 14, 2012, at 1:45 PM, Brandon Allbery < email@hidden> wrote: On Fri, Dec 14, 2012 at 1:02 PM, Brian Landy <email@hidden> wrote:
Anyway, what I did was run xev against the root window (I am not running in fullscreen mode). Each time focus is lost I see this event:
KeymapNotify event, serial 22, synthetic NO, window 0x0,
keys: 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
This doesn't prove much; Xt-based programs such as xterm (and xev itself) will get one of these every time they gain/lose focus for any reason. It's a consequence, not a cause.
The other thing I noticed is that, after losing focus, if I wait without doing anything with the mouse or keyboard, X11 returns focus to the window I was working in after ~5 seconds, and I see this event:
PropertyNotify event, serial 22, synthetic NO, window 0x141,
atom 0xf5 (_NET_ACTIVE_WINDOW), time 2588774827, state PropertyNewValue
Again, this is a consequence, not a cause, and is triggered by it having received focus back.
I should probably swot up a program to follow X11 focus changes, but I rarely see the issue on this SL box so it wouldn't do much good.
-- brandon s allbery kf8nh sine nomine associates
|