On Oct 17, 2008, at 08:51, xquartz-dev.5.mzs@spamgourmet.com wrote:
It would be really nice if pbproxy detected the un-presence of the AppleWM extentsion and still ran in the background.
If the AppleWM extension is not present, then we don't have a way of knowing when we gain focus or when you do a copy. This might be possible once we change the implementation to work with things like: pbcopy < some_file [[middle click]]
I am guessing it is only doing that for syncing-up with the preferences and handling the edit -> copy menu and keyboard shortcut.
as well as knowing when we leave or enter X11.app, so we can proxy to/ from Pasteboard.
You would not need to worry about the first case and the second could be handled with a SIGUSR1 handler. Then people that don't use X11.app could have this great tool. I would simply put a killall -USR1 pbproxy in my .twmrc for example.
You should be able to SIGHUP it to reload prefs (that's how quartz-wm was, and I think that code survived to pbproxy, but I'm not 100% certain of that... if not, I'll put that in later). --Jeremy