diff --git a/events/source.go b/events/source.go index 80f53f96a4..0396318e26 100644 --- a/events/source.go +++ b/events/source.go @@ -168,11 +168,11 @@ func (es *Source) Magnify(scaleFactor float32, where image.Point) { es.Deque.Send(ev) } -// func (em *Mgr) DND(act dnd.Actions, where image.Point, data mimedata.Mimes) { +// func (es *Source) DND(act dnd.Actions, where image.Point, data mimedata.Mimes) { // ev := dnd.NewEvent(act, where, em.Last.Mods) // ev.Data = data // ev.Init() -// em.Deque.Send(ev) +// es.Deque.Send(ev) // } func (es *Source) Window(act WinActions) { diff --git a/system/driver/base/app_single.go b/system/driver/base/app_single.go index 78a51bc8b1..47549a03e9 100644 --- a/system/driver/base/app_single.go +++ b/system/driver/base/app_single.go @@ -47,7 +47,7 @@ type AppSingle[D system.Drawer, W system.Window] struct { type AppSingler interface { system.App - // Events returns the single [events.Mgr] associated with this app. + // Events returns the single [events.Source] associated with this app. Events() *events.Source // Drawer returns the single [system.Drawer] associated with this app.