Compare commits

..

1 Commits

Author SHA1 Message Date
Ferdinand Schober
38c1082e88 fix parent class types in key_row widget
closes #294
2025-06-12 17:53:06 +02:00

View File

@@ -390,9 +390,9 @@ fn create_event_tap<'a>(
if let Some(pos) = pos {
res_events.iter().for_each(|e| {
// error must be ignored, since the event channel
// may already be closed when the InputCapture instance is dropped.
let _ = event_tx.blocking_send((pos, *e));
event_tx
.blocking_send((pos, *e))
.expect("Failed to send event");
});
// Returning None should stop the event from being processed
// but core fundation still returns the event