From 9b365fadbe524d18fe3ae7d99dfc4e53f13f218c Mon Sep 17 00:00:00 2001 From: Antoine Martin Date: Thu, 25 Jul 2019 12:49:10 +0000 Subject: [PATCH] the opengl-probe 'success' test result is more important than the 'safe' attribute git-svn-id: https://xpra.org/svn/Xpra/trunk@23303 3bb7dfac-3a0b-4e04-842a-767bc560f471 --- src/xpra/scripts/main.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/xpra/scripts/main.py b/src/xpra/scripts/main.py index 18ae20aa88..c27828dde2 100755 --- a/src/xpra/scripts/main.py +++ b/src/xpra/scripts/main.py @@ -1874,10 +1874,10 @@ def no_gtk(): def run_glprobe(opts): props = do_run_glcheck(opts) - if not props.get("safe", False): - return 2 if not props.get("success", False): return 3 + if not props.get("safe", False): + return 2 return 0 def do_run_glcheck(opts):