fix(input): unresponsive clients get uncaptured

This commit is contained in:
Nova
2025-04-07 09:16:59 -07:00
committed by Nova
parent fe9ae8225c
commit 173b033963
3 changed files with 28 additions and 4 deletions

View File

@@ -11,7 +11,7 @@ use crate::nodes::items::camera;
use crate::nodes::{audio, drawable, input};
use clap::Parser;
use core::client::Client;
use core::client::{Client, tick_internal_client};
use core::task;
use directories::ProjectDirs;
use objects::ServerObjects;
@@ -307,6 +307,7 @@ fn stereokit_loop(
Duration::from_micros(250),
);
tick_internal_client();
#[cfg(feature = "wayland")]
wayland.update();
drawable::draw(token);