This commit is contained in:
Kovid Goyal 2024-02-14 19:11:02 +05:30
parent c4ef6b87aa
commit b9ebb23bb9
No known key found for this signature in database
GPG key ID: 06BC317B515ACE7C

View file

@ -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