From b8937bc1511414fa6661b54b6f0f04f02b02f9e1 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Tue, 21 Nov 2017 07:35:45 +0530 Subject: [PATCH] Only use wayland if a special env var is present wayland is currently fairly broken. No window decorations and no key auto-repeat. --- kitty/constants.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kitty/constants.py b/kitty/constants.py index 3df302562..e453ef118 100644 --- a/kitty/constants.py +++ b/kitty/constants.py @@ -65,5 +65,5 @@ def glfw_path(module): is_wayland = False -if os.environ.get('WAYLAND_DISPLAY') and os.path.exists(glfw_path('wayland')): +if os.environ.get('WAYLAND_DISPLAY') and 'KITTY_ENABLE_WAYLAND' in os.environ and os.path.exists(glfw_path('wayland')): is_wayland = True