Jay Catherwood
2007-Nov-26 12:19 UTC
[PATCH] Update client list when destroying shaded windows
--- 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"