Commit 8033c232 authored by Paul Tvete's avatar Paul Tvete
Browse files

Add env var QT_VCN_NO_DIRTYMAP

parent 74b27555
......@@ -475,8 +475,11 @@ QRegion QVncClient::calculateDirtyRegion(const QImage &newImage)
}
}
} else {
qDebug() << "Making new map";
m_dirtyMap = new DirtyMap(newImage);
static bool useDirtyMap = !qEnvironmentVariableIsSet("QT_VNC_NO_DIRTYMAP");
if (useDirtyMap) {
qDebug() << "Making new map";
m_dirtyMap = new DirtyMap(newImage);
}
rgn = dirtyRegion();
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment