diff --git a/scene.cpp b/scene.cpp index cb121ef10..edb447f87 100644 --- a/scene.cpp +++ b/scene.cpp @@ -294,6 +294,10 @@ void Scene::paintSimpleScreen(int orig_mask, const QRegion ®ion) const QRegion shape = windowPixmap->mapToGlobal(windowPixmap->shape()); const QRegion opaque = windowPixmap->mapToGlobal(windowPixmap->opaque()); data.clip = shape & opaque; + + if (opaque == shape) { + data.mask = orig_mask | PAINT_WINDOW_OPAQUE; + } } } else { data.clip = QRegion();