lachs0r/SMPlayer2 — pull request #53 by JackieKu (2012-06-08 02:09:46+00:00)
Title: PATCH: Prevent annoy animation while setting "stay on top" on Windows

Windows Vista and later versions has animation effects for
window hiding and showing by default, QWidget::setWindowFlags()
always trigger it since it calls hide() internally.
This can be very annoy if "stay on top while playing" is used,
which cause the window "shaking" on pause/resume.
Change on-top state by calling Windows API can avoid it.