hw accelerators like vdpau complain when changing refresh rate. This was the reason why we hooked it into windowing in order to clear it down prior to a change. The method OnLostDevice was already there for Windows.