From 073c330800149b334d677cdd4748aebe76f7b443 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Wed, 18 Oct 2017 14:02:12 +0530 Subject: [PATCH] Better wayland detection --- kitty/constants.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kitty/constants.py b/kitty/constants.py index f486160ce..12a3b3733 100644 --- a/kitty/constants.py +++ b/kitty/constants.py @@ -118,4 +118,4 @@ def selection_clipboard_funcs(): iswayland = False if not isosx: - iswayland = selection_clipboard_funcs()[0] is None + iswayland = hasattr(glfw_lib(), 'glfwGetWaylandDisplay')