diff --git a/app/os.go b/app/os.go index 36a01034e..e1ded757e 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 58ccfdd53..70f6a3595 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