Use push_event helper in wivrn_session
This commit is contained in:
@@ -701,7 +701,7 @@ void wivrn_session::reconnect()
|
|||||||
|
|
||||||
event.state.visible = true;
|
event.state.visible = true;
|
||||||
event.state.focused = true;
|
event.state.focused = true;
|
||||||
result = xrt_session_event_sink_push(&xrt_system.broadcast, &event);
|
result = push_event(event);
|
||||||
if (result != XRT_SUCCESS)
|
if (result != XRT_SUCCESS)
|
||||||
{
|
{
|
||||||
U_LOG_W("Failed to notify session state change");
|
U_LOG_W("Failed to notify session state change");
|
||||||
|
|||||||
Reference in New Issue
Block a user