]> git.lyx.org Git - features.git/blobdiff - src/CutAndPaste.C
Fix and document middle mouse button paste. This is probably the last of
[features.git] / src / CutAndPaste.C
index a975b66378f2773f20c1b58f6e67f7d95b416022..e561f591c35b04bd82701c1ec4c5e10440c675dd 100644 (file)
@@ -559,6 +559,12 @@ void copySelection(LCursor & cur)
        // stuff the selection onto the X clipboard, from an explicit copy request
        theClipboard().put(cur.selectionAsString(true));
 
+       copySelectionToStack(cur);
+}
+
+
+void copySelectionToStack(LCursor & cur)
+{
        // this doesn't make sense, if there is no selection
        if (!cur.selection())
                return;