summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDanny Baumann <dannybaumann@web.de>2008-12-28 18:57:12 +0100
committerDanny Baumann <dannybaumann@web.de>2008-12-28 18:57:12 +0100
commit3373dab29228b7df579cfcf8f5ef6344c00eba8c (patch)
tree514a960b67fbeec986666be827fc128c45f0aaa6
parentd2a54bcbe81344ba726512ce66880d5e700bdfd8 (diff)
downloadput-3373dab29228b7df579cfcf8f5ef6344c00eba8c.tar.gz
put-3373dab29228b7df579cfcf8f5ef6344c00eba8c.tar.bz2
Only retain focus for focussed window.
-rw-r--r--put.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/put.c b/put.c
index 88ff421..da8bd46 100644
--- a/put.c
+++ b/put.c
@@ -211,7 +211,9 @@ putPreparePaintScreen (CompScreen *s,
/* animation done */
putFinishWindowMovement (w);
- endAnimationWindow = w->id;
+ if (w->id == s->display->activeWindow)
+ endAnimationWindow = w->id;
+
pw->tx = pw->ty = 0;
}
}