apps,ui/app: delete ui/app.Window.Ack

Replace it with a dummy event send on the synchronous event channel;
a bit of cleverness for a simpler API.

Signed-off-by: Elias Naur <mail@eliasnaur.com>
This commit is contained in:
Elias Naur
2019-04-02 18:51:43 +02:00
parent abb9d291e9
commit e7725a4fa1
3 changed files with 18 additions and 29 deletions
-1
View File
@@ -200,7 +200,6 @@ func (a *App) run() error {
a.pqueue.Frame(root)
a.faces.Frame()
}
a.w.Ack()
}
}
return a.w.Err()
-1
View File
@@ -52,7 +52,6 @@ func init() {
w.Draw(root)
faces.Frame()
}
w.Ack()
}
if w.Err() != nil {
log.Fatal(err)