From 2932434aaa3171ab0b1cba309b5b750d35b67047 Mon Sep 17 00:00:00 2001 From: Alfredo Braunstein Date: Thu, 21 Jun 2007 21:56:43 +0000 Subject: [PATCH] * 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 --- src/BufferView.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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? -- 2.39.2