diff --git a/wayvr/src/main.rs b/wayvr/src/main.rs index 6d73a9ec..6f6bc079 100644 --- a/wayvr/src/main.rs +++ b/wayvr/src/main.rs @@ -192,7 +192,7 @@ fn auto_run(args: Args, used_backend: &mut Option) { let instructions = format!("Could not connect to runtime.\n{instructions}"); - let _ = DbusConnector::notify_send("WayVR", &instructions, 1, 0, 0, false); + let _ = DbusConnector::notify_send("WayVR", &instructions, 1, 30000, 0, false); #[cfg(not(any(feature = "openvr", feature = "openxr")))] compile_error!("No VR support! Enable either openvr or openxr features!"); diff --git a/wayvr/src/overlays/screen/pw.rs b/wayvr/src/overlays/screen/pw.rs index 7a254c84..1ab14e57 100644 --- a/wayvr/src/overlays/screen/pw.rs +++ b/wayvr/src/overlays/screen/pw.rs @@ -95,7 +95,8 @@ pub(super) fn select_pw_screen( task::Poll::Pending => { if Instant::now() >= print_at { log::info!("{instructions}"); - if let Ok(id) = DbusConnector::notify_send(instructions, "", 1, 60, 0, true) + if let Ok(id) = + DbusConnector::notify_send(instructions, "", 1, 30000, 0, true) { notify = Some(id); } diff --git a/wayvr/src/subsystem/dbus/mod.rs b/wayvr/src/subsystem/dbus/mod.rs index 552d9831..fa107f8a 100644 --- a/wayvr/src/subsystem/dbus/mod.rs +++ b/wayvr/src/subsystem/dbus/mod.rs @@ -94,7 +94,7 @@ impl DbusConnector { summary: &str, body: &str, urgency: u8, - timeout: i32, + timeout_ms: i32, replaces_id: u32, transient: bool, ) -> anyhow::Result {