Displaying 1 result from an estimated 1 matches for "paintoutputregion".
2007 Nov 26
1
[PATCH] Don't draw shaded windows about to be destroyed
---
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...