mirror of
https://github.com/kovidgoyal/kitty.git
synced 2026-08-04 14:46:03 +00: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:
parent
b3de442116
commit
b8937bc151
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue