From 1dc6f90628fd79e0a40e7eaed744acb923456943 Mon Sep 17 00:00:00 2001 From: Riey Date: Mon, 15 Feb 2021 12:26:09 +0900 Subject: [PATCH] Rollback #247 --- Cargo.lock | 4 ++-- docs/CHANGELOG.md | 4 ++++ src/frontends/xim/src/handler.rs | 2 +- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index e38b519b..176c2c4b 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1518,7 +1518,7 @@ checksum = "d089681aa106a86fade1b0128fb5daf07d5867a509ab036d99988dec80429a57" [[package]] name = "xim" version = "0.3.0" -source = "git+https://github.com/Riey/xim-rs#768b4cf9497d22c6b05f77e44f7f638f98f56ba0" +source = "git+https://github.com/Riey/xim-rs#1317b8ac32f82ec43d3da3f4138b50464f2f192c" dependencies = [ "ahash", "ctext", @@ -1531,7 +1531,7 @@ dependencies = [ [[package]] name = "xim-parser" version = "0.1.0" -source = "git+https://github.com/Riey/xim-rs#768b4cf9497d22c6b05f77e44f7f638f98f56ba0" +source = "git+https://github.com/Riey/xim-rs#1317b8ac32f82ec43d3da3f4138b50464f2f192c" dependencies = [ "bitflags", "thiserror", diff --git a/docs/CHANGELOG.md b/docs/CHANGELOG.md index 814220e6..409d196a 100644 --- a/docs/CHANGELOG.md +++ b/docs/CHANGELOG.md @@ -2,6 +2,10 @@ ## Dev +## 1.0.3 + +* Rollback #247 + ## 1.0.2 * Fix xim freeze when typing fast [#251](https://github.com/Riey/kime/issues/251) diff --git a/src/frontends/xim/src/handler.rs b/src/frontends/xim/src/handler.rs index 959be5d4..d4fbfc97 100644 --- a/src/frontends/xim/src/handler.rs +++ b/src/frontends/xim/src/handler.rs @@ -207,7 +207,7 @@ impl ServerHandler> for KimeHandler { } fn filter_events(&self) -> u32 { - 2 + x11rb::protocol::xproto::EventMask::KEY_PRESS.into() } fn sync_mode(&self) -> bool {