dreamcat4 / skippy-xd

A full-screen Exposé-style standalone task switcher for X11.
GNU General Public License v2.0
99 stars 12 forks source link

Improve animation movement #61

Closed felixfung closed 1 year ago

felixfung commented 1 year ago

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.