mirror of
https://github.com/kovidgoyal/kitty
synced 2026-07-28 11:11:47 +02:00
Fix #7130
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user