~eliasnaur/gio

95ca7b5b59335dade3682557193b0b32a6866653 — Chris Waldon 4 months ago 5a843be
io/input: fix docs for Router.Queue

The method no longer returns anything, and thus does not actually report
whether any events matched a handler.

Signed-off-by: Chris Waldon <christopher.waldon.dev@gmail.com>
1 files changed, 1 insertions(+), 1 deletions(-)

M io/input/router.go
M io/input/router.go => io/input/router.go +1 -1
@@ 380,7 380,7 @@ func (q *Router) Frame(frame *op.Ops) {
	q.collapseState(len(q.changes) - 1)
}

// Queue events and report whether at least one event matched a handler.
// Queue events to be routed.
func (q *Router) Queue(events ...event.Event) {
	for _, e := range events {
		se, system := e.(SystemEvent)