forge
Explore
Log in

Don't you dare go Hollow

input: Add Tracy span to notify activity

Browse files at this commit

f7fde74a8d5f676b70f1eb8c8e5a65e76c67edacIvan MolodetskikhParent: 0470a83
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.niri62 self.niri
62 .idle_notifier_state63 .idle_notifier_state
63 .notify_activity(&self.niri.seat);64 .notify_activity(&self.niri.seat);