Current animation is not perfect, as evident when some windows fly out of the screen, then back in, despite the final window positioning being correct.
The root cause is because in clientwin_move(), the window position moves linearly while also scaling linearly.
The solution is to scale the final window position once, then in clientwin_move(), move the window position linearly.
Current animation is not perfect, as evident when some windows fly out of the screen, then back in, despite the final window positioning being correct.
The root cause is because in clientwin_move(), the window position moves linearly while also scaling linearly.
The solution is to scale the final window position once, then in clientwin_move(), move the window position linearly.