mirror of
https://github.com/kovidgoyal/kitty.git
synced 2026-08-27 03:42:49 +00:00
Fix #7130
This commit is contained in:
parent
c4ef6b87aa
commit
b9ebb23bb9
1 changed files with 1 additions and 1 deletions
|
|
@ -194,7 +194,7 @@ def glfw_path(module: str) -> str:
|
|||
|
||||
|
||||
def detect_if_wayland_ok() -> bool:
|
||||
if 'WAYLAND_DISPLAY' not in os.environ:
|
||||
if 'WAYLAND_DISPLAY' not in os.environ and 'WAYLAND_SOCKET' not in os.environ:
|
||||
return False
|
||||
if 'KITTY_DISABLE_WAYLAND' in os.environ:
|
||||
return False
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue