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:
parent
b3de442116
commit
b8937bc151
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user