Re: X11-users Digest, Vol 15, Issue 25
Re: X11-users Digest, Vol 15, Issue 25
- Subject: Re: X11-users Digest, Vol 15, Issue 25
- From: René J.V. Bertin <email@hidden>
- Date: Wed, 28 Mar 2018 22:35:36 +0200
On Wednesday March 28 2018 12:00:01 email@hidden wrote:
>Chrome is not an X client. It interacts with the screen via the API
>supplied by the OS. Why in the world would Chrome write to
>or read from that socket? How would it even know it exists? =20
Chrome doesn't have to do it. Any X application that is started periodically
would have this same effect.
Not a likely culprit here, but the system-settings application in the
kde4-workspace port has a module which calls xrdb when it detects that the
DISPLAY variable is set. This would probably also cause XQuartz to come to the
front.
>1. What is the "bring to front" API call that XQuartz makes? (Because
>we don't think the OS is actively selecting XQuartz to be brought to
>the front). =20
Why would you think that? According to me the most simple explanation is that
launchd intercepts the connection attempt to the socket and invokes the same
SDK call(s) that are made when you click the XQuartz icon in the doc or Finder.
That will launch XQuartz if not already running, and bring it to the front
otherwise.
The only reason why this explanation doesn't appear to the one is that the
issue apparently continues after unloading the launchd plist.
I don't know of any feature to make XQuarz bring itself to the front in
reaction to certain events, but the QuartzWM might have a feature to do this (I
don't use it so uninstalled it).
Other questions to ask:
- does this only happen with Chrome or also with other webbrowsers?
- does it happen when you start Chrome without extensions, with a temporary,
clean profile or as a new (Chrome) user?
- do you have an X11-based web browser installed (e.g. Epiphany) and did you
ever let that declare it to be the default browser?
- can XQuartz become registered as the application for opening specific
documents (which Chrome might open) and if so, which?
R.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
X11-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden