Skip to content

Commit

Permalink
more events.Mgr cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
kkoreilly committed Apr 17, 2024
1 parent 58bd3e6 commit c764dc8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions events/source.go
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down
2 changes: 1 addition & 1 deletion system/driver/base/app_single.go
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit c764dc8

Please sign in to comment.