From 46cc311d19d4956bad1ea2ad02e14957f0f5c15e Mon Sep 17 00:00:00 2001 From: Elias Naur Date: Thu, 30 May 2024 09:57:03 +0200 Subject: [PATCH] app: fix typos Signed-off-by: Elias Naur --- app/os.go | 2 +- app/window.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/os.go b/app/os.go index 36a01034..e1ded757 100644 --- a/app/os.go +++ b/app/os.go @@ -176,7 +176,7 @@ type context interface { // basicDriver is the subset of [driver] that may be called even after // a window is destroyed. type basicDriver interface { - // Event blocks until an even is available and returns it. + // Event blocks until an event is available and returns it. Event() event.Event // Invalidate requests a FrameEvent. Invalidate() diff --git a/app/window.go b/app/window.go index 58ccfdd5..70f6a359 100644 --- a/app/window.go +++ b/app/window.go @@ -93,7 +93,7 @@ type Window struct { // coalesced tracks the most recent events waiting to be delivered // to the client. coalesced eventSummary - // frame tracks the most recently frame event. + // frame tracks the most recent frame event. lastFrame struct { sync bool size image.Point