> From my playing, it looks like GTK is getting the focus in event from X11, > but, before it generates a focus in event to pass on to the GTK app it checks > whether the app already has focus. It considers the app to have focus if > either has_focus is true, or, crucially, has_pointer_focus is true.
It would, of course, have been cleverer of me to mention, that in the cases where Evince doesn't get focus back, it's because the mouse is over the window and has_pointer_focus has been set to true. Matt -- To unsubscribe, send mail to [email protected].
