diff options
author | Danny Baumann <dannybaumann@web.de> | 2008-12-28 18:57:12 +0100 |
---|---|---|
committer | Danny Baumann <dannybaumann@web.de> | 2008-12-28 18:57:12 +0100 |
commit | 3373dab29228b7df579cfcf8f5ef6344c00eba8c (patch) | |
tree | 514a960b67fbeec986666be827fc128c45f0aaa6 | |
parent | d2a54bcbe81344ba726512ce66880d5e700bdfd8 (diff) | |
download | put-3373dab29228b7df579cfcf8f5ef6344c00eba8c.tar.gz put-3373dab29228b7df579cfcf8f5ef6344c00eba8c.tar.bz2 |
Only retain focus for focussed window.
-rw-r--r-- | put.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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; } } |