]> git.lyx.org Git - lyx.git/blobdiff - src/BufferView.h
Scons: handle the case when qt4 is in system directories
[lyx.git] / src / BufferView.h
index 4b69b7968d0dc6815df6add48b27afa692d3ab78..5757b9961852d690b4f65263c9a035e317859f3a 100644 (file)
@@ -184,7 +184,7 @@ public:
        void setCursor(DocIterator const &);
        /// sets cursor.
        /// This is used when handling LFUN_MOUSE_PRESS.
-       void mouseSetCursor(LCursor & cur);
+       bool mouseSetCursor(LCursor & cur);
 
        /// sets the selection.
        /* When \c backwards == false, set anchor
@@ -278,6 +278,9 @@ private:
 
        /// keyboard mapping object.
        boost::scoped_ptr<Intl> const intl_;
+
+       /// last visited inset (kept to send setMouseHover(false) )
+       InsetBase * last_inset_;
 };