diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2020-09-17 12:27:06 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-09-17 12:27:06 +0200 |
commit | 377c3bb25672fb7060cbd465a698661a93290e07 (patch) | |
tree | 0271e1435459fe7d6f5ff09fe9ffc892377f4010 /platform/linuxbsd/detect.py | |
parent | fdfcce1c03f1c5fd1de2dc637c947a7a91e4021b (diff) | |
parent | 6a14c72b12e7cb5331d93fcc0c4dd26bef0c280b (diff) | |
download | redot-engine-377c3bb25672fb7060cbd465a698661a93290e07.tar.gz |
Merge pull request #39944 from bruvzg/click-through-4
Add mouse event pass-through support for window.
Diffstat (limited to 'platform/linuxbsd/detect.py')
-rw-r--r-- | platform/linuxbsd/detect.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/platform/linuxbsd/detect.py b/platform/linuxbsd/detect.py index 3eb4c44bc1..f5e2c72bbc 100644 --- a/platform/linuxbsd/detect.py +++ b/platform/linuxbsd/detect.py @@ -35,6 +35,11 @@ def can_build(): print("xinerama not found.. x11 disabled.") return False + x11_error = os.system("pkg-config xext --modversion > /dev/null ") + if x11_error: + print("xext not found.. x11 disabled.") + return False + x11_error = os.system("pkg-config xrandr --modversion > /dev/null ") if x11_error: print("xrandr not found.. x11 disabled.") @@ -194,6 +199,7 @@ def configure(env): env.ParseConfig("pkg-config x11 --cflags --libs") env.ParseConfig("pkg-config xcursor --cflags --libs") env.ParseConfig("pkg-config xinerama --cflags --libs") + env.ParseConfig("pkg-config xext --cflags --libs") env.ParseConfig("pkg-config xrandr --cflags --libs") env.ParseConfig("pkg-config xrender --cflags --libs") env.ParseConfig("pkg-config xi --cflags --libs") |