]> git.lyx.org Git - features.git/commitdiff
Partly revert the bits of 8f86ee74 that are not necessary anymore after 8ec91e80
authorEnrico Forestieri <forenr@lyx.org>
Wed, 14 Sep 2016 00:51:56 +0000 (02:51 +0200)
committerEnrico Forestieri <forenr@lyx.org>
Wed, 14 Sep 2016 00:51:56 +0000 (02:51 +0200)
src/BufferView.cpp

index dd18b25bd88cebe77acff0b2a173ab768a0c094a..0212b165d1cfd2dd0ed18f06a2886b2a71860872 100644 (file)
@@ -495,9 +495,7 @@ void BufferView::processUpdateFlags(Update::flags flags)
 
        // updateMetrics() does not update paragraph position
        // This is done at draw() time. So we need a redraw!
-       // We pass true so that metrics are computed for the sake
-       // of having MacroData updated.
-       buffer_.changed(true);
+       buffer_.changed(false);
 
        if (needsFitCursor()) {
                // The cursor is off screen so ensure it is visible.
@@ -2183,9 +2181,7 @@ void BufferView::updateHoveredInset() const
 
                // This event (moving without mouse click) is not passed further.
                // This should be changed if it is further utilized.
-               // We pass true so that metrics are computed for the sake
-               // of having MacroData updated.
-               buffer_.changed(true);
+               buffer_.changed(false);
        }
 }