Skip to content

Commit

Permalink
Using input-service from crates.io
Browse files Browse the repository at this point in the history
  • Loading branch information
pentamassiv committed Oct 1, 2020
1 parent 539fabe commit 26d5c1c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
4 changes: 1 addition & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,7 @@ tempfile = "3.1.0"
dbus = "0.8.4"
dbus-crossroads = "0.2.2"
locale_config = "0.3.0"

[dependencies.input_method_service]
path = "../test/input_method_service"
zwp-input-method-service="0.2.1"

[features]
# None of the optional features are activated in the default
Expand Down
2 changes: 1 addition & 1 deletion src/keyboard/ui_connector.rs
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
use crate::user_interface::Msg;
use crate::user_interface::Win;
use input_method_service::*;
use wayland_protocols::unstable::text_input::v3::client::zwp_text_input_v3::{
ContentHint, ContentPurpose,
};
use zwp_input_method_service::*;

pub enum UIMsg {
Visible(bool),
Expand Down
2 changes: 1 addition & 1 deletion src/submitter.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
pub use self::wayland::vk_service::KeyMotion;
use input_method_service::*;
use wayland_client::EventQueue;
use zwp_input_method_service::*;

pub mod wayland;

Expand Down

0 comments on commit 26d5c1c

Please sign in to comment.