Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update options docs to clarify linux webview gpu defaults #4162

Merged
merged 4 commits into from
Apr 8, 2025
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions website/versioned_docs/version-v2.10/reference/options.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ func main() {
Linux: &linux.Options{
Icon: icon,
WindowIsTranslucent: false,
WebviewGpuPolicy: linux.WebviewGpuPolicyAlways,
WebviewGpuPolicy: linux.WebviewGpuPolicyNever,
ProgramName: "wails"
},
Debug: options.Debug{
Expand Down Expand Up @@ -1066,7 +1066,8 @@ This option is used for determining the webview's hardware acceleration policy.

Name: WebviewGpuPolicy<br/>
Type: [`options.WebviewGpuPolicy`](#webviewgpupolicy-type)<br/>
Default: `WebviewGpuPolicyAlways`
Default (Windows, macOS): `WebviewGpuPolicyAlways`<br/>
Default (Linux): `WebviewGpuPolicyNever`<br/>

##### WebviewGpuPolicy type

Expand Down