From 6c9615df0d24b0d0558456af13a795b4e7a62286 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Wed, 18 Oct 2017 14:03:05 +0530 Subject: [PATCH] ... --- kitty/constants.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/kitty/constants.py b/kitty/constants.py index 12a3b3733..f15c2cf48 100644 --- a/kitty/constants.py +++ b/kitty/constants.py @@ -116,6 +116,4 @@ def selection_clipboard_funcs(): return ans -iswayland = False -if not isosx: - iswayland = hasattr(glfw_lib(), 'glfwGetWaylandDisplay') +iswayland = not isosx and hasattr(glfw_lib(), 'glfwGetWaylandDisplay')