If the app is destroyed before the bounce finishes, the icon may be left out of position. Fix that by explicitly resetting the position when the bounce is complete for whatever reason, not just when the bounce ends normally.
Signed-off-by: Brad Jorsch <[email protected]> --- src/superfluous.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/superfluous.c b/src/superfluous.c index 799e63d..50b60fe 100644 --- a/src/superfluous.c +++ b/src/superfluous.c @@ -311,10 +311,10 @@ reinit: } return; } - XMoveWindow(dpy, aicon->icon->core->window, - aicon->x_pos, aicon->y_pos); } + XMoveWindow(dpy, aicon->icon->core->window, + aicon->x_pos, aicon->y_pos); CommitStackingForWindow(aicon->icon->core); data->wapp->flags.bouncing = 0; WMDeleteTimerHandler(data->timer); -- 1.7.1 -- To unsubscribe, send mail to [email protected].
