https://github.com/dontsueme/FreeRDP/commit/f76d7dd97c8ac0d9d86b42507a872d12cb267375