commit db5a8b9dcd59f303603845b7f8774c4424d12b6f
Author: Jean-Marc Lasgouttes <[email protected]>
Date:   Fri Dec 5 11:46:01 2025 +0100

    Fixup 5577e877: do not update buffer when clicking out of an inset
    
    In 5577e877, the bool `update' used in mouseSetCursor was wrongly
    interpreted as "update buffer stuff", whereas the code shows that it
    is rather "update metrics".
---
 src/BufferView.cpp | 2 --
 1 file changed, 2 deletions(-)

diff --git a/src/BufferView.cpp b/src/BufferView.cpp
index d38370dadf..e183d92b62 100644
--- a/src/BufferView.cpp
+++ b/src/BufferView.cpp
@@ -3230,8 +3230,6 @@ bool BufferView::mouseSetCursor(Cursor & cur, bool const 
select)
        d->cursor_.boundary(cur.boundary());
        d->cursor_.finishUndo();
        d->cursor_.setCurrentFont();
-       if (update)
-               cur.forceBufferUpdate();
        return update;
 }
 
-- 
lyx-cvs mailing list
[email protected]
https://lists.lyx.org/mailman/listinfo/lyx-cvs

Reply via email to