kde, gnome: join with blocking event loop
This commit is contained in:
parent
9ce953ef09
commit
d8d110018b
2 changed files with 2 additions and 9 deletions
|
|
@ -14,7 +14,6 @@ use crate::wayland::Dispatcher;
|
|||
use polling::Event;
|
||||
use polling::Events;
|
||||
use polling::Poller;
|
||||
use std::future::pending;
|
||||
use std::sync::Arc;
|
||||
use std::time::Instant;
|
||||
use tokio::task;
|
||||
|
|
@ -92,7 +91,5 @@ async fn main()
|
|||
|
||||
dispatcher.dispatch_timers();
|
||||
}
|
||||
});
|
||||
|
||||
pending::<()>().await;
|
||||
}).await.unwrap();
|
||||
}
|
||||
|
|
|
|||
|
|
@ -4,7 +4,6 @@
|
|||
*/
|
||||
|
||||
mod core;
|
||||
// mod libei;
|
||||
mod wayland;
|
||||
|
||||
use ashpd::desktop::PersistMode;
|
||||
|
|
@ -15,7 +14,6 @@ use crate::wayland::Dispatcher;
|
|||
use polling::Event;
|
||||
use polling::Events;
|
||||
use polling::Poller;
|
||||
use std::future::pending;
|
||||
use std::time::Instant;
|
||||
use reis::ei::Context;
|
||||
use reis::ei::handshake::ContextType;
|
||||
|
|
@ -96,7 +94,5 @@ async fn main()
|
|||
|
||||
dispatcher.dispatch_timers();
|
||||
}
|
||||
});
|
||||
|
||||
pending::<()>().await;
|
||||
}).await.unwrap();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue