4e7b521438
The old behaviour is available via waitKeyEx() call or via setting of OPENCV_LEGACY_WAITKEY environment variable