diff options
Diffstat (limited to 'src/protocols/core/Compositor.cpp')
| -rw-r--r-- | src/protocols/core/Compositor.cpp | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/protocols/core/Compositor.cpp b/src/protocols/core/Compositor.cpp index ed36b1f9..541eae92 100644 --- a/src/protocols/core/Compositor.cpp +++ b/src/protocols/core/Compositor.cpp @@ -550,13 +550,6 @@ void CWLSurfaceResource::commitState(SSurfaceState& state) { nullptr); } - if (m_current.updated.bits.damage) { - // damage is always relative to the current commit - m_current.updated.bits.damage = false; - m_current.damage.clear(); - m_current.bufferDamage.clear(); - } - // release the buffer if it's synchronous (SHM) as updateSynchronousTexture() has copied the buffer data to a GPU tex // if it doesn't have a role, we can't release it yet, in case it gets turned into a cursor. if (m_current.buffer && m_current.buffer->isSynchronous() && m_role->role() != SURFACE_ROLE_UNASSIGNED) |
