mirror of
https://github.com/niri-wm/niri.git
synced 2026-06-22 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>) {
|
pub fn process_libinput_event(&mut self, event: &mut InputEvent<LibinputInputBackend>) {
|
||||||
|
let _span = tracy_client::span!("process_libinput_event");
|
||||||
|
|
||||||
match event {
|
match event {
|
||||||
InputEvent::DeviceAdded { device } => {
|
InputEvent::DeviceAdded { device } => {
|
||||||
// According to Mutter code, this setting is specific to touchpads.
|
// According to Mutter code, this setting is specific to touchpads.
|
||||||
|
|||||||
Reference in New Issue
Block a user