You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

32 lines
919 B

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