Merge "Pause adaptor when the window is hidden" into devel/master