all: use tracy for tracing
This commit is contained in:
parent
50186e764e
commit
ccad3cf0fb
56 changed files with 647 additions and 171 deletions
|
|
@ -72,7 +72,11 @@ impl ExtIdleNotifierV1RequestHandler for ExtIdleNotifierV1 {
|
|||
});
|
||||
track!(self.client, notification);
|
||||
self.client.add_client_obj(¬ification)?;
|
||||
let future = self.client.state.eng.spawn(run(notification.clone()));
|
||||
let future = self
|
||||
.client
|
||||
.state
|
||||
.eng
|
||||
.spawn("idle notifier", run(notification.clone()));
|
||||
notification.task.set(Some(future));
|
||||
Ok(())
|
||||
}
|
||||
|
|
|
|||
|
|
@ -270,7 +270,7 @@ impl WlSeatGlobal {
|
|||
});
|
||||
slf.pointer_cursor.set_owner(slf.clone());
|
||||
let seat = slf.clone();
|
||||
let future = state.eng.spawn(async move {
|
||||
let future = state.eng.spawn("seat handler", async move {
|
||||
loop {
|
||||
seat.tree_changed.triggered().await;
|
||||
seat.state.tree_changed_sent.set(false);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue