commit 6ceb26d6344b04ed6d6fd66896fb2c17774f9715
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".
    
    (cherry picked from commit db5a8b9dcd59f303603845b7f8774c4424d12b6f)
---
 src/BufferView.cpp | 2 --
 1 file changed, 2 deletions(-)

diff --git a/src/BufferView.cpp b/src/BufferView.cpp
index 20d7b0bbfe..08bd5ec923 100644
--- a/src/BufferView.cpp
+++ b/src/BufferView.cpp
@@ -3202,8 +3202,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