diff options
author | bruvzg <7645683+bruvzg@users.noreply.github.com> | 2017-12-10 20:38:26 +0200 |
---|---|---|
committer | bruvzg <7645683+bruvzg@users.noreply.github.com> | 2018-04-07 17:11:45 +0300 |
commit | ddae098deec89d67228a74623ebe7f5db39f425b (patch) | |
tree | 87aa891c0447ce6db35bd4676ff3a7cb2265e9cf /platform/x11/detect.py | |
parent | ec110076caca7a75ffb4795c32362bc52151dbcc (diff) | |
download | redot-engine-ddae098deec89d67228a74623ebe7f5db39f425b.tar.gz |
Experimental support for windows with per-pixel transparency (macOS, X11 and Windows).
Diffstat (limited to 'platform/x11/detect.py')
-rw-r--r-- | platform/x11/detect.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/platform/x11/detect.py b/platform/x11/detect.py index da2b0701b6..9d3818aaf3 100644 --- a/platform/x11/detect.py +++ b/platform/x11/detect.py @@ -42,6 +42,11 @@ def can_build(): print("xrandr not found.. x11 disabled.") return False + x11_error = os.system("pkg-config xrender --modversion > /dev/null ") + if (x11_error): + print("xrender not found.. x11 disabled.") + return False + return True def get_opts(): @@ -141,6 +146,7 @@ def configure(env): env.ParseConfig('pkg-config xcursor --cflags --libs') env.ParseConfig('pkg-config xinerama --cflags --libs') env.ParseConfig('pkg-config xrandr --cflags --libs') + env.ParseConfig('pkg-config xrender --cflags --libs') if (env['touch']): x11_error = os.system("pkg-config xi --modversion > /dev/null ") |