From 3bd296ae3d60d51038078a109201439c19c49dd8 Mon Sep 17 00:00:00 2001 From: Johannes Altmanninger Date: Sun, 21 Sep 2025 08:13:41 +0200 Subject: [PATCH] Reuse variable in next_input_event() --- src/input_common.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/input_common.rs b/src/input_common.rs index 375344c8f..4e1ba315d 100644 --- a/src/input_common.rs +++ b/src/input_common.rs @@ -560,7 +560,7 @@ fn next_input_event(in_fd: RawFd) -> InputEventTrigger { // Get the uvar notifier fd (possibly none). let notifier = default_notifier(); let notifier_fd = notifier.notification_fd(); - if let Some(notifier_fd) = notifier.notification_fd() { + if let Some(notifier_fd) = notifier_fd { fdset.add(notifier_fd); }