xsettings: changed func interface