From c77cff3fcbd0f0f86c2cac3e81af111185d1a2c4 Mon Sep 17 00:00:00 2001 From: Florian Bruhin Date: Thu, 28 Sep 2017 08:56:05 +0200 Subject: [PATCH] Also fail with DISPLAY with wayland platform plugin QtWebEngine spews errors at us, and while it seems to work with Weston for some reason (despite errors logged), it doesn't with sway. --- qutebrowser/misc/backendproblem.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/qutebrowser/misc/backendproblem.py b/qutebrowser/misc/backendproblem.py index 806c32a36..7f3703be9 100644 --- a/qutebrowser/misc/backendproblem.py +++ b/qutebrowser/misc/backendproblem.py @@ -174,10 +174,6 @@ def _handle_nouveau_graphics(): def _handle_wayland(): if QApplication.instance().platformName() not in ['wayland', 'wayland-egl']: return - if os.environ.get('DISPLAY'): - # When DISPLAY is set but with the wayland/wayland-egl platform plugin, - # QtWebEngine will do the right hting. - return _show_dialog( backend=usertypes.Backend.QtWebEngine,