[PATCH] Don't draw shaded windows about to be destroyed
Jay Catherwood
jc at fliffis.net
Mon Nov 26 04:17:13 PST 2007
---
src/paint.c | 14 ++++++++++++--
1 files changed, 12 insertions(+), 2 deletions(-)
diff --git a/src/paint.c b/src/paint.c
index 00cbf73..4ddd332 100644
--- a/src/paint.c
+++ b/src/paint.c
@@ -193,7 +193,12 @@ paintOutputRegion (CompScreen *screen,
if (w->destroyed)
continue;
- if (!w->shaded)
+ if (w->shaded)
+ {
+ if (w->id < 2)
+ continue;
+ }
+ else
{
if (w->attrib.map_state != IsViewable || !w->damaged)
continue;
@@ -232,7 +237,12 @@ paintOutputRegion (CompScreen *screen,
if (w == fullscreenWindow)
continue;
- if (!w->shaded)
+ if (w->shaded)
+ {
+ if (w->id < 2)
+ continue;
+ }
+ else
{
if (w->attrib.map_state != IsViewable || !w->damaged)
continue;
--
1.5.2.5
--dDRMvlgZJXvWKvBx
Content-Type: text/x-diff; charset=us-ascii
Content-Disposition: attachment; filename="0002-Update-client-list-when-destroying-shaded-windows.patch"
More information about the compiz
mailing list