input: Add Tracy span to notify activity
Browse files at this commitf7fde74a8d5f676b70f1eb8c8e5a65e76c67edacParent: 0470a831 changed file +1 -0
- src/input.rs +1 -0
src/input.rsmodified+1 -0
| @@ -58,6 +58,7 @@ impl State { | |||
| 58 | if self.niri.monitors_active { | 58 | if self.niri.monitors_active { |
| 59 | // Notify the idle-notifier of activity. | 59 | // Notify the idle-notifier of activity. |
| 60 | if should_notify_activity(&event) { | 60 | if should_notify_activity(&event) { |
| 61 | + let _span = tracy_client::span!("IdleNotifierState::notify_activity"); | ||
| 61 | self.niri | 62 | self.niri |
| 62 | .idle_notifier_state | 63 | .idle_notifier_state |
| 63 | .notify_activity(&self.niri.seat); | 64 | .notify_activity(&self.niri.seat); |