Re: something is CONSTANTLY stealing the focus from X11 apps
Re: something is CONSTANTLY stealing the focus from X11 apps
- Subject: Re: something is CONSTANTLY stealing the focus from X11 apps
- From: Bill Janssen <email@hidden>
- Date: Wed, 04 Sep 2013 13:07:58 -0700
- Comments: In-reply-to Brandon Allbery <email@hidden> message dated "Wed, 28 Aug 2013 19:48:50 -0700."
Brandon Allbery <email@hidden> wrote:
> On Wed, Aug 28, 2013 at 10:25 PM, Allen Bennett <email@hidden>wrote:
>
> > /Library/LaunchDaemons/com.google.keystone.daemon.plist
> > /Library/LaunchAgents/com.google.keystone.agent.plist
> > are the offending files
> > The executables are in /Library/Google/
> >
> > Updates Chrome, Google Drive, anything from Google; very annoying.
> >
>
> But the problem here isn't really Google's fault; if it hasn't displayed a
> window or even an icon, it really shouldn't be able to steal focus or input
> events. That it, or any other "background" application such as the iCal
> Helper that others have fingered, can steal focus is Apple's fault. (X11
> wouldn't allow this to happen, as I described in the mailing list thread I
> pointed to; you need to map a window to receive events or focus, and here
> there's no window.)
You'd think so, wouldn't you? Seems correct.
However, the WindowServer on Macs does a number of things that seem to
manage the user's login context, and you need to be able to connect to
it (LSUIElement=true) to be able to do things in that context, even if
they don't require a window. As the docs say, it "is a single point of
contact for all applications". But, as you point out, conflating
keyboard focus with "who's talking to me now" seems broken.
Some of the gory details are available in
https://developer.apple.com/library/mac/technotes/tn2083/_index.html
Though, that was last updated for 10.5.
Bill
_______________________________________________
Do not post admin requests to the list. They will be ignored.
X11-users mailing list (email@hidden)
This email sent to email@hidden