VeraCrypt
aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/Main/Unix/Main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Main/Unix/Main.cpp b/src/Main/Unix/Main.cpp
index 39a2eaba..ffc71a8d 100644
--- a/src/Main/Unix/Main.cpp
+++ b/src/Main/Unix/Main.cpp
@@ -76,7 +76,7 @@ int main (int argc, char **argv)
#endif
#ifdef __WXGTK__
- if (!getenv ("DISPLAY"))
+ if (!getenv ("DISPLAY") && !getenv ("WAYLAND_DISPLAY"))
forceTextUI = true;
#endif