srdusr
aboutsummaryrefslogtreecommitdiffstats
path: root/crates/wayland/src/udev/platform.rs
diff options
context:
space:
mode:
Diffstat (limited to 'crates/wayland/src/udev/platform.rs')
-rw-r--r--crates/wayland/src/udev/platform.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/crates/wayland/src/udev/platform.rs b/crates/wayland/src/udev/platform.rs
index cbcee64..1d2ef0e 100644
--- a/crates/wayland/src/udev/platform.rs
+++ b/crates/wayland/src/udev/platform.rs
@@ -269,8 +269,8 @@ impl UdevPlatform {
let handle = event_loop.handle();
register_drm_fd(&handle, &card)?;
- register_libinput(&handle, &session, &seat_name)?;
- register_session_notifier(&handle, notifier)?;
+ let libinput_handle = register_libinput(&handle, &session, &seat_name)?;
+ register_session_notifier(&handle, notifier, libinput_handle)?;
if let Err(e) = register_udev_monitor(&handle, &seat_name) {
log::warn!("udev: connector hotplug unavailable ({e}); monitors are fixed at startup");
}