Wayland: Use the kitty Wayland backend by default

This commit is contained in:
Kovid Goyal
2019-03-06 21:04:34 +05:30
parent facd353228
commit 0a153e2524
2 changed files with 5 additions and 1 deletions

View File

@@ -136,7 +136,7 @@ def glfw_path(module):
is_wayland = False
if os.environ.get('WAYLAND_DISPLAY') and 'KITTY_ENABLE_WAYLAND' in os.environ and os.path.exists(glfw_path('wayland')):
if os.environ.get('WAYLAND_DISPLAY') and 'KITTY_DISABLE_WAYLAND' not in os.environ and os.path.exists(glfw_path('wayland')):
is_wayland = True