On Wednesday March 28 2018 12:00:01 [email protected] 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 protected]) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/x11-users/archive%40mail-archive.com This email sent to [email protected]
