https://bugs.freedesktop.org/attachment.cgi?id=45097