]> git.lyx.org Git - features.git/blobdiff - src/BufferView_pimpl.C
several small patches and some fixes, read the ChangeLog
[features.git] / src / BufferView_pimpl.C
index 40564cfffdb3ac0f0263bb3c9d5edfad15975a31..300c386f14a7c64907eb2de24cbc126455538247 100644 (file)
@@ -939,7 +939,8 @@ void BufferView::Pimpl::workAreaButtonRelease(int x, int y, unsigned int button)
  * If hit, the coordinates are changed relative to the inset. 
  * Otherwise coordinates are not changed, and false is returned.
  */
-Inset * BufferView::Pimpl::checkInsetHit(int & x, int & y, unsigned int /* button */)
+Inset * BufferView::Pimpl::checkInsetHit(int & x, int & y,
+                                        unsigned int /* button */)
 {
        if (!screen)
                return 0;
@@ -948,9 +949,10 @@ Inset * BufferView::Pimpl::checkInsetHit(int & x, int & y, unsigned int /* butto
   
        LyXCursor cursor;
        bv_->text->SetCursorFromCoordinates(cursor, x, y_tmp);
+#if 0 // Are you planning to use this Jürgen? (Lgb)
        bool move_cursor = ((cursor.par != bv_->text->cursor.par) ||
                            (cursor.pos != bv_->text->cursor.pos));
-
+#endif
        if (cursor.pos < cursor.par->Last()
            && cursor.par->GetChar(cursor.pos) == LyXParagraph::META_INSET
            && cursor.par->GetInset(cursor.pos)