render: move lastFrameDamage to CMonitor

This commit is contained in:
vaxerski
2023-07-10 13:21:00 +02:00
parent fe54dcb4eb
commit 515a363ecd
6 changed files with 12 additions and 11 deletions

View File

@@ -61,6 +61,8 @@ class CMonitor {
CMonitor* pMirrorOf = nullptr;
std::vector<CMonitor*> mirrors;
pixman_region32_t lastFrameDamage; // stores last frame damage
// for the special workspace. 0 means not open.
int specialWorkspaceID = 0;