From 1a2b2c15c5ade505e94a005f1e002e8d951c380c Mon Sep 17 00:00:00 2001
From: John Preston <johnprestonmail@gmail.com>
Date: Thu, 30 Jan 2020 10:59:58 +0300
Subject: [PATCH] Disable Wayland in Snap build.

---
 snap/snapcraft.yaml | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/snap/snapcraft.yaml b/snap/snapcraft.yaml
index 333b45199..8e87c1b10 100644
--- a/snap/snapcraft.yaml
+++ b/snap/snapcraft.yaml
@@ -14,6 +14,8 @@ apps:
     environment:
       # Use GTK3 cursor theme, icon theme and open/save file dialogs.
       QT_QPA_PLATFORMTHEME: gtk3
+      # Wayland support is still too bad.
+      DISABLE_WAYLAND: 1
     plugs:
       - desktop
       - desktop-legacy