From b9ebb23bb9c43b2089c13797279b33a901d1f10a Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Wed, 14 Feb 2024 19:11:02 +0530 Subject: [PATCH] Fix #7130 --- kitty/constants.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kitty/constants.py b/kitty/constants.py index c651aa343..1572faae6 100644 --- a/kitty/constants.py +++ b/kitty/constants.py @@ -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