diff options
| author | Ivan Molodetskikh <yalterz@gmail.com> | 2023-12-09 09:23:41 +0400 |
|---|---|---|
| committer | Ivan Molodetskikh <yalterz@gmail.com> | 2023-12-09 09:23:41 +0400 |
| commit | 1be860c5273c1c97bf445118cdede2d1116330b0 (patch) | |
| tree | d3a37ce1c6dc04c44e8d98388cc66529c3f7b343 /src/input.rs | |
| parent | b3e0a6c5438235bd742d743baff1bf64a2fb6c79 (diff) | |
| download | niri-1be860c5273c1c97bf445118cdede2d1116330b0.tar.gz niri-1be860c5273c1c97bf445118cdede2d1116330b0.tar.bz2 niri-1be860c5273c1c97bf445118cdede2d1116330b0.zip | |
Add trace span to process_libinput_event
Diffstat (limited to 'src/input.rs')
| -rw-r--r-- | src/input.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/input.rs b/src/input.rs index ca08653e..15630b76 100644 --- a/src/input.rs +++ b/src/input.rs @@ -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. |
