forge
Explore
Log in

Don't you dare go Hollow

Add trace span to process_libinput_event

Browse files at this commit

1be860c5273c1c97bf445118cdede2d1116330b0Ivan MolodetskikhParent: b3e0a6c
src/input.rsmodified+2 -0
@@ -84,6 +84,8 @@ impl State {
8484 }
8585
8686 pub fn process_libinput_event(&mut self, event: &mut InputEvent<LibinputInputBackend>) {
87+ let _span = tracy_client::span!("process_libinput_event");
88+
8789 match event {
8890 InputEvent::DeviceAdded { device } => {
8991 // According to Mutter code, this setting is specific to touchpads.