mirror of
https://github.com/kovidgoyal/kitty
synced 2026-06-11 02:59:40 +02:00
Only use wayland if a special env var is present
wayland is currently fairly broken. No window decorations and no key auto-repeat.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user