Add lx_parse_geometry and lx_apply_geometry.