Add trace span to process_libinput_event

This commit is contained in:
Ivan Molodetskikh
2023-12-09 09:23:41 +04:00
parent b3e0a6c543
commit 1be860c527
+2
View File
@@ -84,6 +84,8 @@ impl State {
}
pub fn process_libinput_event(&mut self, event: &mut InputEvent<LibinputInputBackend>) {
let _span = tracy_client::span!("process_libinput_event");
match event {
InputEvent::DeviceAdded { device } => {
// According to Mutter code, this setting is specific to touchpads.