[PATCH] Update client list when destroying shaded windows

Jay Catherwood jc at fliffis.net
Mon Nov 26 04:19:02 PST 2007


---
 src/window.c |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/src/window.c b/src/window.c
index 568373d..2133aed 100644
--- a/src/window.c
+++ b/src/window.c
@@ -2227,6 +2227,11 @@ destroyWindow (CompWindow *w)
     w->id = 1;
     w->mapNum = 0;
 
+    if (w->shaded)
+    {
+	updateClientListForScreen (w->screen);
+    }
+
     w->destroyRefCnt--;
     if (w->destroyRefCnt)
 	return;
-- 
1.5.2.5


--dDRMvlgZJXvWKvBx
Content-Type: text/x-diff; charset=us-ascii
Content-Disposition: attachment; filename="0003-Avoid-stacking-relative-to-destroyed-windows.patch"



More information about the compiz mailing list