x11: Reset SurfaceItemX11::m_isDamaged when the damage handle is destroyed
This commit is contained in:
parent
b3214db0b7
commit
7eca5f44db
1 changed files with 1 additions and 0 deletions
|
@ -110,6 +110,7 @@ void SurfaceItemX11::waitForDamage()
|
|||
void SurfaceItemX11::destroyDamage()
|
||||
{
|
||||
if (m_damageHandle != XCB_NONE) {
|
||||
m_isDamaged = false;
|
||||
xcb_damage_destroy(kwinApp()->x11Connection(), m_damageHandle);
|
||||
m_damageHandle = XCB_NONE;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue