]> git.lyx.org Git - features.git/commitdiff
fix comment.
authorJean-Marc Lasgouttes <lasgouttes@lyx.org>
Wed, 8 Feb 2023 11:28:01 +0000 (12:28 +0100)
committerJean-Marc Lasgouttes <lasgouttes@lyx.org>
Wed, 8 Feb 2023 11:28:01 +0000 (12:28 +0100)
src/frontends/qt/GuiWorkArea.cpp

index 31cfec18f85da730fe87a418e51d7440eccccfd9..cc1fdb51c05c1657844bb61393154f9ab96af43f 100644 (file)
@@ -1241,9 +1241,10 @@ void GuiWorkArea::paintEvent(QPaintEvent * ev)
        // bug #10989). The second test triggers when in the middle of a
        // dispatch operation.
        if (view().busy() || d->buffer_view_->buffer().undo().activeUndoGroup()) {
-               // Since macOS has turned the screen black at this point, our
-               // backing store has to be copied to screen (this is a no-op
-               // except on macOS).
+               // Since the screen may have turned black at this point, our
+               // backing store has to be copied to screen. This is a no-op
+               // except when our drawing strategy is "backingstore" (macOS,
+               // Wayland, or set in prefs).
                d->updateScreen(ev->rect());
                // Ignore this paint event, but request a new one for later.
                viewport()->update(ev->rect());