linux_wayland_support: dup detecting function of x11 or wayland

Signed-off-by: fufesou <shuanglongchen@yeah.net>
This commit is contained in:
fufesou
2022-07-20 10:44:27 -07:00
parent 634cb5ef1a
commit 00dc473703
12 changed files with 130 additions and 155 deletions

1
Cargo.lock generated
View File

@@ -1266,6 +1266,7 @@ name = "enigo"
version = "0.0.14"
dependencies = [
"core-graphics 0.22.3",
"hbb_common",
"libc",
"log",
"objc",