Cherry-pick from upstream glfw/glfw#1196 Found in CPANtesters test of Alien::raylib: http://www.cpantesters.org/cpan/report/d956d128-0339-11e8-b0d1-b6c4abd39192