From 681249094b411bfe641812cf895d6a60a20b95b7 Mon Sep 17 00:00:00 2001 From: Roope Salmi Date: Thu, 22 Aug 2024 10:27:10 +0300 Subject: [PATCH] fix(linux): register IPC handler with window hash 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();