From b2f9ca6ac400d426d7a1ef0162f7e7ce28288dd1 Mon Sep 17 00:00:00 2001 From: Keith Packard Date: Tue, 10 Jul 2007 21:33:34 -0700 Subject: [PATCH] Redirect fix: Manual + Automatic - Manual = Automatic A window with redirect manual *and* redirect automatic which loses the manual redirecting client becomes redirect automatic. --- composite/compalloc.c | 1 + 1 file changed, 1 insertion(+) diff --git a/composite/compalloc.c b/composite/compalloc.c index 1a7e4a0da..f555411bf 100644 --- a/composite/compalloc.c +++ b/composite/compalloc.c @@ -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)