From 785ffd34701899176a6cb78bb54028ebccc3e193 Mon Sep 17 00:00:00 2001 From: Lucas Nogueira Date: Sun, 2 Nov 2025 06:32:32 -0300 Subject: [PATCH] fix webview id --- crates/tauri-runtime-cef/src/cef_impl.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/crates/tauri-runtime-cef/src/cef_impl.rs b/crates/tauri-runtime-cef/src/cef_impl.rs index ea9fac4e7..13f062991 100644 --- a/crates/tauri-runtime-cef/src/cef_impl.rs +++ b/crates/tauri-runtime-cef/src/cef_impl.rs @@ -1241,7 +1241,7 @@ wrap_task! { fn create_window( context: &Context, window_id: WindowId, - _webview_id: u32, + webview_id: u32, pending: PendingWindow>, ) { let label = pending.label.clone(); @@ -1435,7 +1435,6 @@ fn create_window( ); if let Some(webview) = pending.webview { - let webview_id = context.next_webview_id(); create_webview( WebviewKind::WindowContent, context,