mirror of
https://github.com/wez/wezterm.git
synced 2025-01-03 19:21:57 +03:00
fixup for imdkit changes
This commit is contained in:
parent
b365cdbb94
commit
0a0a1004eb
2
Cargo.lock
generated
2
Cargo.lock
generated
@ -5172,7 +5172,7 @@ dependencies = [
|
||||
[[package]]
|
||||
name = "xcb-imdkit"
|
||||
version = "0.2.0"
|
||||
source = "git+https://github.com/wez/xcb-imdkit-rs.git?rev=7498cce1085ec23535f1b8d6729407485bf66c00#7498cce1085ec23535f1b8d6729407485bf66c00"
|
||||
source = "git+https://github.com/wez/xcb-imdkit-rs.git?rev=605f9ed36f2c9a514120d1b1b963b48ea3062280#605f9ed36f2c9a514120d1b1b963b48ea3062280"
|
||||
dependencies = [
|
||||
"bitflags",
|
||||
"cc",
|
||||
|
@ -76,7 +76,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", rev="7498cce1085ec23535f1b8d6729407485bf66c00"}
|
||||
xcb-imdkit = { version="0.2", git="https://github.com/wez/xcb-imdkit-rs.git", rev="605f9ed36f2c9a514120d1b1b963b48ea3062280"}
|
||||
|
||||
[target.'cfg(target_os="macos")'.dependencies]
|
||||
cocoa = "0.20"
|
||||
|
@ -512,7 +512,7 @@ impl XConnection {
|
||||
.ime
|
||||
.borrow_mut()
|
||||
.set_forward_event_cb(move |_win, e| {
|
||||
if let err @ Err(_) = conn.process_xcb_event(unsafe { std::mem::transmute(e) })
|
||||
if let err @ Err(_) = conn.process_xcb_event(e)
|
||||
{
|
||||
if let Err(err) = conn.ime_process_event_result.replace(err) {
|
||||
log::warn!("IME process event error dropped: {}", err);
|
||||
|
Loading…
Reference in New Issue
Block a user