Better wayland detection

This commit is contained in:
Kovid Goyal 2017-10-18 14:02:12 +05:30
parent e558880e8f
commit 073c330800
No known key found for this signature in database
GPG key ID: 06BC317B515ACE7C

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