add winmanager patch