From: Alfredo Braunstein Date: Thu, 21 Jun 2007 21:56:43 +0000 (+0000) Subject: * Fix to Bug 3903 X-Git-Tag: 1.6.10~9317 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=2932434aaa3171ab0b1cba309b5b750d35b67047;p=features.git * Fix to Bug 3903 When moving the cursor with a mouse click, notify all left insets, not just the top one git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18850 a592a061-630c-0410-9148-cb99ea01b6c8 --- diff --git a/src/BufferView.cpp b/src/BufferView.cpp index aa0416ebba..2c229a1fce 100644 --- a/src/BufferView.cpp +++ b/src/BufferView.cpp @@ -1351,7 +1351,7 @@ bool BufferView::mouseSetCursor(Cursor & cur) bool badcursor = false; bool leftinset = (&cursor_.inset() != &cur.inset()); if (leftinset) - badcursor = cursor_.inset().notifyCursorLeaves(cursor_); + badcursor = notifyCursorLeaves(cursor_, cur); // do the dEPM magic if needed // FIXME: (1) move this to InsetText::notifyCursorLeaves?