io/key: [API] replace key.InputOp with a filter

Signed-off-by: Elias Naur <mail@eliasnaur.com>
This commit is contained in:
Elias Naur
2023-10-20 09:08:39 -05:00
parent 73c3849da4
commit 27ef6dd7a2
21 changed files with 294 additions and 383 deletions
-5
View File
@@ -903,11 +903,6 @@ func (w *Window) processEvent(d driver, e event.Event) bool {
handled = false
}
}
// As a special case, the top-most input handler receives all unhandled
// events.
if !handled {
handled = w.queue.QueueTopmost(e)
}
}
w.updateCursor(d)
if handled {