From 03b79e9a674a27708baea9d529fc130742d00ab4 Mon Sep 17 00:00:00 2001 From: Travis McLane Date: Thu, 21 Sep 2023 15:46:14 -0500 Subject: [PATCH] [v3 linux] noop: handleKeyEvent skeleton --- v3/pkg/application/webview_window_linux.go | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/v3/pkg/application/webview_window_linux.go b/v3/pkg/application/webview_window_linux.go index dce9c9f81..ef54a0cb8 100644 --- a/v3/pkg/application/webview_window_linux.go +++ b/v3/pkg/application/webview_window_linux.go @@ -465,3 +465,13 @@ func (w *linuxWebviewWindow) print() error { w.execJS("window.print();") return nil } + +func (w *linuxWebviewWindow) handleKeyEvent(acceleratorString string) { + // Parse acceleratorString + // accelerator, err := parseAccelerator(acceleratorString) + // if err != nil { + // globalApplication.error("unable to parse accelerator: %s", err.Error()) + // return + // } + w.parent.processKeyBinding(acceleratorString) +}