0.5.0, add fix-legacy-window-test.patch from Arch