From 9bba558fe1496dd654524c3c07aec0b1f0fddac8 Mon Sep 17 00:00:00 2001 From: "liushuai.abel" Date: Mon, 23 Sep 2024 15:31:54 +0800 Subject: [PATCH] st/oxr: fix wrong struct used when sending the XrEventDataInteractionProfileChanged event Part-of: --- doc/changes/state_trackers/mr.2327.md | 4 ++++ src/xrt/state_trackers/oxr/oxr_event.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) create mode 100644 doc/changes/state_trackers/mr.2327.md diff --git a/doc/changes/state_trackers/mr.2327.md b/doc/changes/state_trackers/mr.2327.md new file mode 100644 index 000000000..f7f75abb5 --- /dev/null +++ b/doc/changes/state_trackers/mr.2327.md @@ -0,0 +1,4 @@ +--- +- mr.2327 +--- +Fix: Conformance issue. diff --git a/src/xrt/state_trackers/oxr/oxr_event.c b/src/xrt/state_trackers/oxr/oxr_event.c index 5e79430c9..4f885ba4d 100644 --- a/src/xrt/state_trackers/oxr/oxr_event.c +++ b/src/xrt/state_trackers/oxr/oxr_event.c @@ -176,7 +176,7 @@ XrResult oxr_event_push_XrEventDataInteractionProfileChanged(struct oxr_logger *log, struct oxr_session *sess) { struct oxr_instance *inst = sess->sys->inst; - XrEventDataSessionStateChanged *changed; + XrEventDataInteractionProfileChanged *changed; struct oxr_event *event = NULL; ALLOC(log, inst, &event, &changed);