cleanup and styling

This commit is contained in:
Ashley Wulber 2022-01-07 11:54:20 -05:00
parent 45d8c75e02
commit 5c599889b4
3 changed files with 12 additions and 20 deletions

View file

@ -137,17 +137,6 @@ fn main() {
.call_method(Some(DEST), PATH, Some(DEST), "WindowFocus", &((e,)))
.await
.expect("Failed to focus selected window");
// let m = zbus_conn
// .call_method(Some(DEST), PATH, Some(DEST), "WindowId", &((e,)))
// .await;
// if let Ok(m) = m {
// if let Ok(reply) = m.body::<(u32, u32)>() {
// dbg!(reply);
// } else {
// dbg!(m);
// }
// // glib::timeout_future(Duration::from_millis(100)).await;
// }
}
Event::Close(e) => {
let _activate_window = zbus_conn