mirror of
https://github.com/gryf/wmaker.git
synced 2026-10-06 09:20:34 +02:00
Reset bouncing app icon position when bounce ends
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 <anomie@users.sourceforge.net>
This commit is contained in:
1 parent
4f853ce3b6
commit
3f8bba8064
1 file changed
+2
-2
+2
-2
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user