summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDanny Baumann <dannybaumann@web.de>2007-04-03 16:43:19 +0200
committerDanny Baumann <dannybaumann@web.de>2007-04-03 16:43:19 +0200
commit098ba3e4bff6c17824731794c52d3bf087bbb712 (patch)
tree7fff804323e0f5b1a023dfce4690d86c016955ba
parent68e9f75a6b7491fa795e7ee29561814fc40f476f (diff)
downloadberyl-premerge-098ba3e4bff6c17824731794c52d3bf087bbb712.tar.gz
beryl-premerge-098ba3e4bff6c17824731794c52d3bf087bbb712.tar.bz2
trailfocus: damage window area when changing paint modifiers
-rw-r--r--src/trailfocus.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/trailfocus.c b/src/trailfocus.c
index 49b1260..d5ee082 100644
--- a/src/trailfocus.c
+++ b/src/trailfocus.c
@@ -109,6 +109,10 @@ static void setWindows(CompScreen * s)
break;
tw->isTfWindow = TRUE;
+
+ if (memcmp(&tw->attribs, &ts->inc[i], sizeof(TfAttribs)) != 0)
+ addWindowDamage(w);
+
tw->attribs = ts->inc[i];
}
}