···269269270270 struct oxr_system *sys = &inst->system;
271271272272- // Create the compositor if we are not headless.
273273- if (!inst->extensions.MND_headless) {
272272+ // Create the compositor if we are not headless, currently always create it.
273273+ bool should_create_compositor = true /* !inst->extensions.MND_headless */;
274274+275275+ // Create the system.
276276+ if (should_create_compositor) {
274277 xret = xrt_instance_create_system(inst->xinst, &sys->xsysd, &sys->xso, &sys->xsysc);
275278 } else {
276279 xret = xrt_instance_create_system(inst->xinst, &sys->xsysd, &sys->xso, NULL);
···285288 ret = XR_SUCCESS;
286289 if (sys->xsysd == NULL) {
287290 ret = oxr_error(log, XR_ERROR_RUNTIME_FAILURE, "Huh?! Field sys->xsysd was NULL?");
288288- } else if (!inst->extensions.MND_headless && sys->xsysc == NULL) {
291291+ } else if (should_create_compositor && sys->xsysc == NULL) {
289292 ret = oxr_error(log, XR_ERROR_RUNTIME_FAILURE, "Huh?! Field sys->xsysc was NULL?");
290290- } else if (inst->extensions.MND_headless && sys->xsysc != NULL) {
293293+ } else if (!should_create_compositor && sys->xsysc != NULL) {
291294 ret = oxr_error(log, XR_ERROR_RUNTIME_FAILURE, "Huh?! Field sys->xsysc was not NULL?");
292295 }
293296