Fix segfault with recent versions of Xorg
Xorg was recently patched to fix CVE-2020-25712.
https://gitlab.freedesktop.org/xorg/xserver/-/commit/87c64fc5b0db9f62f4e361444f4b60501ebf67b9 https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-25712
Since this commit, the following procedure makes libcairo crash:
- Long press "e"
- Choose "ē"
This commit fixes the crash.