]> git.lyx.org Git - features.git/blobdiff - src/frontends/screen.C
2003-02-13 John Levon <levon@movementarian.org>
[features.git] / src / frontends / screen.C
index 650542f757ca273d667f4b99a66ba75074adcc7b..030539845a2cbec20b17c805e9f082d63e465b5e 100644 (file)
@@ -436,7 +436,7 @@ void LyXScreen::drawFromTo(LyXText * text, BufferView * bv,
        force_clear_ = false;
 
        // maybe we have to clear the screen at the bottom
-       if ((y < y2) && text->bv_owner) {
+       if ((y < y2) && text->isTopLevel()) {
                workarea().getPainter().fillRectangle(0, y,
                        workarea().workWidth(), y2 - y,
                        LColor::bottomarea);