]> git.lyx.org Git - lyx.git/blobdiff - src/BufferView_pimpl.C
citation patch from Angus
[lyx.git] / src / BufferView_pimpl.C
index c7e7d6b64140ba3cef582af10965541548f43494..affdf76346e0311d6d494785627f33ef9a6fa62d 100644 (file)
@@ -516,9 +516,7 @@ int BufferView::Pimpl::scrollDown(long time)
 
 void BufferView::Pimpl::workAreaKeyPress(KeySym keysym, unsigned int state)
 {
-#if FL_REVISION > 88
        bv_->owner()->getLyXFunc()->processKeySym(keysym, state);
-#endif
 }
 
 
@@ -725,7 +723,7 @@ void BufferView::Pimpl::doubleClick(int /*x*/, int /*y*/, unsigned int button)
 void BufferView::Pimpl::tripleClick(int /*x*/, int /*y*/, unsigned int button)
 {
        // select a line
-       if (buffer_ && screen_ && button == 1) {
+       if (buffer_ && screen_ && !bv_->the_locking_inset && (button == 1)) {
                screen_->HideCursor();
                screen_->ToggleSelection(bv_->text);
                bv_->text->CursorHome(bv_);