diff --git a/qutebrowser/app.py b/qutebrowser/app.py index 3da540a6d..64a116fc2 100644 --- a/qutebrowser/app.py +++ b/qutebrowser/app.py @@ -420,6 +420,8 @@ def _init_modules(args, crash_handler): log.init.debug("Misc initialization...") if config.get('ui', 'hide-wayland-decoration'): os.environ['QT_WAYLAND_DISABLE_WINDOWDECORATION'] = '1' + else: + os.environ.pop('QT_WAYLAND_DISABLE_WINDOWDECORATION', None) _maybe_hide_mouse_cursor() objreg.get('config').changed.connect(_maybe_hide_mouse_cursor)