Redirect fix: Manual + Automatic - Manual = Automatic
A window with redirect manual *and* redirect automatic which loses the manual redirecting client becomes redirect automatic.
This commit is contained in:
parent
561989f2f0
commit
b2f9ca6ac4
|
@ -220,6 +220,7 @@ compFreeClientWindow (WindowPtr pWin, XID id)
|
|||
{
|
||||
DamageRegister (&pWin->drawable, cw->damage);
|
||||
cw->damageRegistered = TRUE;
|
||||
pWin->redirectDraw = RedirectDrawAutomatic;
|
||||
DamageDamageRegion (&pWin->drawable, &pWin->borderSize);
|
||||
}
|
||||
if (wasMapped && !pWin->mapped)
|
||||
|
|
Loading…
Reference in New Issue