Fixed XLib stuff.