Better wayland detection

This commit is contained in:
Kovid Goyal
2017-10-18 14:02:12 +05:30
parent e558880e8f
commit 073c330800

View File

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