]> git.lyx.org Git - features.git/blobdiff - src/BufferView_pimpl.h
selection patch
[features.git] / src / BufferView_pimpl.h
index 776888c2d9f3e36637f42c3059ffb5cd8f8815d8..6257a8ccb56226bd930cf173766c92f57879ed20 100644 (file)
@@ -193,7 +193,12 @@ private:
        void MenuInsertLyXFile(std::string const & filen);
        /// our workarea
        WorkArea & workarea() const;
-
+       /// this is used to handle XSelection events in the right manner
+       struct {
+               LyXCursor cursor;
+               LyXCursor selection_cursor;
+               bool set;
+       } xsel_cache_;
        ///
        LCursor cursor_;
 };