Juge <
jyrki.m...@gmail.com> wrote:
> Ok, so I need to write the bind <<TablelistSelect>> and put selection clear for the other table in it. I thought there might be some way to limit the the exportselection stuff to work within one toplevel window.
Well, you already know the solution. Here's some reasoning about why
it's affecting the other instance of the application:
exportselection essentially means that whenever you select something, it
will make it the selection (as in "clipboard") of your current desktop,
and it will notice when some other application (e.g. the second instance
of your program, or just an editor) claims the selection for itself, and
reflect loss of selection by unselecting in the widget.
As a rule of thumb, one should use -exportselection only, if one wants
the selected items or characters to be paste-able across applications.