1
1
mirror of https://github.com/wez/wezterm.git synced 2024-09-11 22:37:11 +03:00

x11: potential fix for hanging IME

refs: https://github.com/H-M-H/xcb-imdkit-rs/issues/5
refs: https://github.com/wez/wezterm/issues/2819
This commit is contained in:
Wez Furlong 2022-12-19 12:23:04 -07:00
parent 02eb0b4294
commit 30238acb1b
No known key found for this signature in database
GPG Key ID: 7A7F66A31EC9B387
3 changed files with 6 additions and 7 deletions

7
Cargo.lock generated
View File

@ -6501,8 +6501,9 @@ dependencies = [
[[package]]
name = "xcb"
version = "1.1.1"
source = "git+https://github.com/rust-x-bindings/rust-xcb?rev=a85a4cf8937898b1da972367df4648143ede38ea#a85a4cf8937898b1da972367df4648143ede38ea"
version = "1.2.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "0faeb4d7e2d54fff4a0584f61297e86b106914af2029778de7b427f72564d6c5"
dependencies = [
"bitflags",
"libc",
@ -6513,7 +6514,7 @@ dependencies = [
[[package]]
name = "xcb-imdkit"
version = "0.2.0"
source = "git+https://github.com/wez/xcb-imdkit-rs.git?branch=waiting-on-release#0135194dea52e88c6ba830762fdcc7db99b68839"
source = "git+https://github.com/wez/xcb-imdkit-rs.git?branch=hangfix#c6859ab2b8a233ca5dda5e8e4f1634d34ce9c85c"
dependencies = [
"bitflags",
"cc",

View File

@ -24,5 +24,3 @@ opt-level = 3
# Disabled because it breaks builds on Windows
#split-debuginfo = "unpacked"
[patch.crates-io]
xcb = {version="1.1.1", git="https://github.com/rust-x-bindings/rust-xcb", rev="a85a4cf8937898b1da972367df4648143ede38ea"}

View File

@ -70,7 +70,7 @@ winreg = "0.10"
dirs-next = "2.0"
filedescriptor = { version="0.8", path = "../filedescriptor" }
x11 = {version ="2.19", features = ["xlib_xcb", "xlib"]}
xcb = {version="1.1.1", features=["render", "randr", "dri2", "xkb", "xlib_xcb", "present"]}
xcb = {version="1.2", features=["render", "randr", "dri2", "xkb", "xlib_xcb", "present"]}
xkbcommon = { version = "0.5.0", features = ["x11", "wayland"] }
mio = {version="0.8", features=["os-ext"]}
libc = "0.2"
@ -78,7 +78,7 @@ smithay-client-toolkit = {version = "0.15", default-features=false, optional=tru
wayland-protocols = {version="0.29", optional=true}
wayland-client = {version="0.29", optional=true}
wayland-egl = {version="0.29", optional=true}
xcb-imdkit = { version="0.2", git="https://github.com/wez/xcb-imdkit-rs.git", branch="waiting-on-release"}
xcb-imdkit = { version="0.2", git="https://github.com/wez/xcb-imdkit-rs.git", branch="hangfix"}
serde = {version="1.0", features = ["derive"]}
zbus = "3.0"
zvariant = "3.6"