This commit is contained in:
galister
2026-01-09 11:48:44 +09:00
parent 9f79a034e7
commit e6e1764b36
23 changed files with 33 additions and 52 deletions

View File

@@ -156,15 +156,11 @@ pub async fn wlx_device_haptics(
)
}
pub async fn wlx_overlay_show_hide(
state: &mut WayVRClientState,
) {
pub async fn wlx_overlay_show_hide(state: &mut WayVRClientState) {
handle_empty_result(
WayVRClient::fn_wlx_overlay_show_hide(
state.wayvr_client.clone(),
)
.await
.context("failed to trigger overlay show hide"),
WayVRClient::fn_wlx_overlay_show_hide(state.wayvr_client.clone())
.await
.context("failed to trigger overlay show hide"),
)
}

View File

@@ -14,8 +14,8 @@ use wayvr_ipc::{
};
use crate::helper::{
WayVRClientState, wlx_device_haptics, wlx_input_state, wlx_panel_modify, wvr_process_get,
wvr_process_launch, wvr_process_list, wvr_process_terminate, wvr_window_list,
WayVRClientState, wlx_device_haptics, wlx_input_state, wlx_overlay_show_hide, wlx_panel_modify,
wvr_process_get, wvr_process_launch, wvr_process_list, wvr_process_terminate, wvr_window_list,
wvr_window_set_visible,
};