Commit 940240a
committed
[GTK4] Stop disabling Webkit hardware acceleration
hardware-acceleration-policy has always 2 values "always"(0) and
"never"(1) as per https://webkitgtk.org/reference/webkitgtk/stable/enum.HardwareAccelerationPolicy.html
thus value of 2 is no longer supported.
Fixes "(SWT:330330): GLib-GObject-CRITICAL **: 10:47:39.032: value
"((WebKitHardwareAccelerationPolicy) 2)" of type
'WebKitHardwareAccelerationPolicy' is invalid or out of range for
property 'hardware-acceleration-policy' of type
'WebKitHardwareAccelerationPolicy'" when running on GTK4.
As GTK 4 is fairly different from GTK 3 where it was disabled in an
effort to fix crash let's keep the default setting unless there is a
problem that is fixed by disabling hardware acceleration.1 parent da7ffe0 commit 940240a
File tree
1 file changed
+4
-2
lines changed- bundles/org.eclipse.swt/Eclipse SWT WebKit/gtk/org/eclipse/swt/browser
1 file changed
+4
-2
lines changedLines changed: 4 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| |||
736 | 736 | | |
737 | 737 | | |
738 | 738 | | |
739 | | - | |
| 739 | + | |
| 740 | + | |
| 741 | + | |
740 | 742 | | |
741 | 743 | | |
742 | 744 | | |
| |||
0 commit comments