From 627b143db65f6e7b72fa12675718c7d3d9aa88b3 Mon Sep 17 00:00:00 2001 From: Adrian Perez de Castro Date: Wed, 22 Mar 2017 15:30:37 +0200 Subject: [PATCH] Do not set WEBKIT_DISABLE_COMPOSITING in the environment Using the environment variable as fallback when WebKitWebSettings.set_hardware_acceleration_policy() is not available will make WebKitGTK+ crash in some revisions of the GNOME 3.22 runtime. Ugh. --- revolt/window.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/revolt/window.py b/revolt/window.py index a216e08..6b41882 100644 --- a/revolt/window.py +++ b/revolt/window.py @@ -61,9 +61,6 @@ def __init__(self, application, saved_state): # binary drivers (i.e. NVidia) with Flatpak build. See issue #29. if hasattr(websettings, "set_hardware_acceleration_policy"): websettings.set_hardware_acceleration_policy(WebKit2.HardwareAccelerationPolicy.NEVER) - else: - import os - os.environ["WEBKIT_DISABLE_COMPOSITING_MODE"] = "1" self._webview.show_all() self.add(self._webview)