mirror of
https://github.com/niri-wm/niri.git
synced 2026-06-21 02:01:55 +07:00
Add trace span to process_libinput_event
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user