5
0
mirror of https://github.com/wailsapp/wails.git synced 2025-05-21 03:19:31 +08:00

Test fix for linux high CPU usage

This commit is contained in:
Lea Anthony 2020-12-29 07:48:18 +11:00
parent 7dbf74c3e0
commit 9cd5ad69ce
No known key found for this signature in database
GPG Key ID: 33DAF7BB90A58405

View File

@ -364,6 +364,7 @@ struct webview_priv
webkit_web_view_get_settings(WEBKIT_WEB_VIEW(w->priv.webview));
webkit_settings_set_enable_write_console_messages_to_stdout(settings, true);
webkit_settings_set_enable_developer_extras(settings, true);
webkit_settings_set_hardware_acceleration_policy(settings, WEBKIT_HARDWARE_ACCELERATION_POLICY_ALWAYS);
}
else
{