Linux: Disable the Wayland backend on GNOME

GNOME has no support for server side decorations.
Can be controlled by new option linux_display_server.
This commit is contained in:
Kovid Goyal
2019-06-04 19:10:13 +05:30
parent f1494b64e5
commit 277f43aed6
8 changed files with 60 additions and 21 deletions

View File

@@ -222,7 +222,7 @@ class Tab: # {{{
if env:
fenv.update(env)
fenv['KITTY_WINDOW_ID'] = str(next_window_id())
if not is_macos and not is_wayland:
if not is_macos and not is_wayland():
try:
fenv['WINDOWID'] = str(x11_window_id(self.os_window_id))
except Exception: