Just Launched: You can now import projects and releases from Google Code onto SourceForge
We are excited to release new functionality to enable a 1-click import from Google Code onto the Allura platform on SourceForge. You can import tickets, wikis, source, releases, and more with a few simple steps. Read More
From: Grant Schoep <gschoep@di...> - 2005-04-08 16:41:28
Sorry I was miss-using focus, for the life of me I could remeber
selection.. oh well.
I did get it to stop removing the selection. I recompiled gnuplot with
NOEXPORT defined and it no long takes my selection buffer. Which I think
the users are not going to be very happy with. I just recompiled it with
the NOEXPORT, but if there was just an X11 resource setting, that would
work as well. Though, I need to recompile with the new version anyways
so its not so bad.
From: Hans-Bernhard Broeker [mailto:broeker@...]=20
Sent: Friday, April 08, 2005 9:57 AM
To: Grant Schoep
Subject: Re: [Gnuplot-info] gnuplot "steals" focus from linux terminal
Grant Schoep wrote:
> Each time gnuplot does the "reread" it grabs focus from the linux
> terminal's cut/paste buffer.=20
I think you're mixing up terms here. "Focus" is the name of the feature
that one of the many X11 windows has the focus, meaning that all=20
keyboard input will go to that window. The manager manages and=20
visualizes which window that is.
> Meaning, if I double click on a word in the
> terminal, then try to use the middle button to paste that word, if
> gnuplot does the re read before I hit the middle button, it clears
> mouse buffer.
That's not "focus", that's the X11 cut/paste buffer, a.k.a. "selection".
Up to version very recent CVS versions, gnuplot's X11 driver
always grabbed that buffer each time a new graph is made. In current
CVS this can be turned off using an X11 resource.
> what I had double clicked on. So I can use the middle mouse button to
> paste. I have "noraise" on, so it doesn't steal focus.
Noraise is not about focus, either --- that's about z ordering.