Bo Peng wrote:
And what is the problem that the middle mouse button doesn't pste on
Windows?
It is not only windows. Abdel's patch disables persistent selection on
all platforms. Jurgen was able to paste because of his desktop
manager.
Are you really sure of that? As far as I see this is a X11 feature and
it is independent of the desktop manager. If X11 doesn't request a
"SelectionClear", the selectionBuffer will not be cleared in
CutAndPaste.cpp. AFAIU, the only way this could happen is when you
left-click in some other application. If you stay within LyX, I think
persistent selection should still work after my fix. Please confirm or
infirm that as I cannot test myself.
Abdel.