Skip to content

File tree

1 file changed

+4
-10
lines changed

1 file changed

+4
-10
lines changed
 

‎v3/pkg/application/webview_window_linux.go

+4-10
Original file line numberDiff line numberDiff line change
@@ -339,16 +339,10 @@ func (w *linuxWebviewWindow) handleKeyEvent(acceleratorString string) {
339339
}
340340

341341
// SetMinimiseButtonState is unsupported on Linux
342-
func (w *linuxWebviewWindow) SetMinimiseButtonState(state ButtonState) Window {
343-
return w
344-
}
342+
func (w *linuxWebviewWindow) setMinimiseButtonState(state ButtonState) {}
345343

346344
// SetMaximiseButtonState is unsupported on Linux
347-
func (w *linuxWebviewWindow) SetMaximiseButtonState(state ButtonState) Window {
348-
return w
349-
}
345+
func (w *linuxWebviewWindow) setMaximiseButtonState(state ButtonState) {}
350346

351-
// SetFullscreenButtonState is unsupported on Linux
352-
func (w *linuxWebviewWindow) SetCloseButtonState(state ButtonState) Window {
353-
return w
354-
}
347+
// SetCloseButtonState is unsupported on Linux
348+
func (w *linuxWebviewWindow) setCloseButtonState(state ButtonState) {}

0 commit comments

Comments
 (0)
Please sign in to comment.