> Anyone knows a GTK hacker who got some spare time and can figure this out? I'd > be curious about what exactly gtk is expecting here and why it is ignoring the > events (aka "What does it thing does have the input focus? Why does it think > so?)
>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. (See gdk/x11/gdkdevicemanager-xi2.c, handle_focus_change function in the gtk3 source code.) I don't know whether X11, GTK, Awesome or Evince are at fault here, but maybe i should start hassling some other mailing lists :) But in case this kind of situation rings any bells to anyone, i thought i'd start here :) Thanks, Matt -- To unsubscribe, send mail to [email protected].
