Skip to content

Commit

Permalink
cargo update
Browse files Browse the repository at this point in the history
  • Loading branch information
MaxVerevkin committed Jul 23, 2023
1 parent ef5394e commit d471d1a
Show file tree
Hide file tree
Showing 3 changed files with 62 additions and 88 deletions.
137 changes: 56 additions & 81 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions Cargo.toml
Expand Up @@ -15,9 +15,9 @@ libc = "0.2"
indexmap = { version = "2.0", features = ["serde"] }
serde = { version = "1", features = ["derive"] }
serde_yaml = "0.9"
wayrs-client = "0.10"
wayrs-protocols = { version = "0.10", features = ["wlr-layer-shell-unstable-v1"] }
wayrs-utils = { version = "0.6.0", features = ["shm_alloc", "seats", "keyboard"] }
wayrs-client = "0.11"
wayrs-protocols = { version = "0.11", features = ["wlr-layer-shell-unstable-v1"] }
wayrs-utils = { version = "0.7", features = ["shm_alloc", "seats", "keyboard"] }
smart-default = "0.7.0"
clap = { version = "4.3.0", default-features = false, features = ["std", "derive", "help", "usage"] }

Expand Down
7 changes: 3 additions & 4 deletions src/main.rs
Expand Up @@ -13,11 +13,11 @@ use std::process::{Command, Stdio};
use clap::Parser;
use pangocairo::cairo;

use wayrs_client::connection::Connection;
use wayrs_client::global::*;
use wayrs_client::object::ObjectId;
use wayrs_client::protocol::*;
use wayrs_client::proxy::Proxy;
use wayrs_client::{global::*, IoMode};
use wayrs_client::{Connection, IoMode};
use wayrs_protocols::wlr_layer_shell_unstable_v1::*;
use wayrs_utils::keyboard::{xkb, Keyboard, KeyboardEvent, KeyboardHandler};
use wayrs_utils::seats::{SeatHandler, Seats};
Expand All @@ -44,8 +44,7 @@ fn main() -> anyhow::Result<()> {
anyhow::bail!("No key mappings defined");
}

let mut conn = Connection::connect()?;
let globals = conn.blocking_collect_initial_globals()?;
let (mut conn, globals) = Connection::connect_and_collect_globals()?;
conn.add_registry_cb(wl_registry_cb);

let wl_compositor: WlCompositor = globals.bind(&mut conn, 4..=4)?;
Expand Down

0 comments on commit d471d1a

Please sign in to comment.