[fusion-commits] Animation plugin: Changes to 'master' (64a3a18e396a069a3e7ff7a7cf0320aa76edb934)
cornelius at server.beryl-project.org
cornelius at server.beryl-project.org
Sun Jul 22 08:15:27 CEST 2007
New commits:
commit 64a3a18e396a069a3e7ff7a7cf0320aa76edb934
Author: Erkin Bahceci <erkinbah at gmail.com>
Date: Sun Jul 22 02:14:55 2007 -0400
Fix lack of focus animations after using switcher.
animation.c | 12 ++++--------
1 files changed, 4 insertions(+), 8 deletions(-)
Modified: fusion/plugins/animation/animation.c
===================================================================
--- fusion/plugins/animation/animation.c
+++ fusion/plugins/animation/animation.c
@@ -1433,7 +1433,6 @@ initiateFocusAnimation(CompWindow *w)
CompWindow *dw;
for (dw = wStart; dw && dw != wEnd->next; dw = dw->next)
{
- //printf("%X, s: %X, e: %X\n", dw, wStart, wEnd);
if (!isWinVisible(dw) ||
dw->wmType & CompWindowTypeDockMask)
continue;
@@ -1684,14 +1683,10 @@ static void animPreparePaintScreen(CompScreen * s, int msSinceLastPaint)
if (aw->restackInfo)
{
if (aw->curWindowEvent != WindowEventNone ||
- otherPluginsActive(as))
- {
- continue;
- }
-
- if (!restackInfoStillGood(s, aw->restackInfo))
- {
+ otherPluginsActive(as) ||
// Don't animate with stale restack info
+ !restackInfoStillGood(s, aw->restackInfo))
+ {
free(aw->restackInfo);
aw->restackInfo = NULL;
continue;
@@ -3225,6 +3220,7 @@ static void animHandleEvent(CompDisplay * d, XEvent * event)
Bool raised = FALSE;
int changeStart = -1;
int changeEnd = -1;
+
for (i = 0; i < n; i++)
{
CompWindow *wi =
More information about the commits
mailing list