Needed for lxde/lxde-qt#140 and #54