From 651971ad8d6bc1482748ecade5dd2c580c6f3bd3 Mon Sep 17 00:00:00 2001 From: Roope Salmi Date: Thu, 22 Aug 2024 12:07:17 +0300 Subject: [PATCH] fix(linux): register IPC handler with window hash (#1348) Fallout from changes done to #1325 before merging --- src/webview/webkitgtk/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/webview/webkitgtk/mod.rs b/src/webview/webkitgtk/mod.rs index 6fc0212fd..6f8f3d028 100644 --- a/src/webview/webkitgtk/mod.rs +++ b/src/webview/webkitgtk/mod.rs @@ -101,7 +101,7 @@ impl InnerWebView { }); // Register handler on JS side - manager.register_script_message_handler("ipc"); + manager.register_script_message_handler(&window_hash); // Allow the webview to close it's own window let close_window = window_rc.clone();