mirror of
https://github.com/feschber/lan-mouse.git
synced 2026-04-18 07:51:29 +03:00
remove debug print
This commit is contained in:
@@ -179,12 +179,9 @@ pub fn run(
|
|||||||
app.add_client(client.handle, client.pos);
|
app.add_client(client.handle, client.pos);
|
||||||
}
|
}
|
||||||
|
|
||||||
let mut i = 0;
|
|
||||||
while app.running {
|
while app.running {
|
||||||
match queue.blocking_dispatch(&mut app) {
|
match queue.blocking_dispatch(&mut app) {
|
||||||
Ok(_) => {
|
Ok(_) => { },
|
||||||
eprint!("{}\r", {i+=1; i});
|
|
||||||
},
|
|
||||||
Err(DispatchError::Backend(WaylandError::Io(e))) => {
|
Err(DispatchError::Backend(WaylandError::Io(e))) => {
|
||||||
eprintln!("Wayland Error: {}", e);
|
eprintln!("Wayland Error: {}", e);
|
||||||
thread::sleep(Duration::from_millis(500));
|
thread::sleep(Duration::from_millis(500));
|
||||||
|
|||||||
Reference in New Issue
Block a user