[PATCH] Avoid stacking relative to destroyed windows

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


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

diff --git a/src/window.c b/src/window.c
index 2133aed..ecc7f69 100644
--- a/src/window.c
+++ b/src/window.c
@@ -2973,6 +2973,9 @@ stackLayerCheck (CompWindow *w,
 static Bool
 avoidStackingRelativeTo (CompWindow *w)
 {
+    if (w->id < 2)
+	return TRUE;
+
     if (w->attrib.override_redirect)
 	return TRUE;
 
-- 
1.5.2.5


--dDRMvlgZJXvWKvBx--


More information about the compiz mailing list