From d84e9d5abfb571ba29f7ddf2a1cd3b7706702139 Mon Sep 17 00:00:00 2001
From: Adam Jackson <ajax@redhat.com>
Date: Mon, 5 Aug 2019 14:35:40 -0400
Subject: [PATCH] composite: Remove excess compUnredirectWindow

---
 composite/compwindow.c | 8 --------
 1 file changed, 8 deletions(-)

diff --git a/composite/compwindow.c b/composite/compwindow.c
index 9005d85..31d39e9 100644
--- a/composite/compwindow.c
+++ b/composite/compwindow.c
@@ -656,14 +656,6 @@ compDestroyWindow(WindowPtr pWin)
     CompSubwindowsPtr csw;
     Bool ret;
 
-    /*
-     * Take down bs explicitly, to get ->backStorage cleared
-     */
-    if (pWin->backingStore != NotUseful) {
-        pWin->backingStore = NotUseful;
-        pScreen->ChangeWindowAttributes(pWin, CWBackingStore);
-    }
-
     pScreen->DestroyWindow = cs->DestroyWindow;
     while ((cw = GetCompWindow(pWin)))
         FreeResource(cw->clients->id, RT_NONE);
-- 
2.21.0

