mirror of
https://git.sr.ht/~eliasnaur/gio
synced 2026-07-07 18:35:34 +00:00
Revert "ui/app: make window event queue buffered"
Breaks the ack mechanism of sending a dummy ack event to ensure
the previous event has been processed.
This reverts commit 7582b835bc.
This commit is contained in:
+1
-2
@@ -87,8 +87,7 @@ func NewWindow(opts *WindowOptions) *Window {
|
|||||||
|
|
||||||
w := &Window{
|
w := &Window{
|
||||||
in: make(chan Event),
|
in: make(chan Event),
|
||||||
// Make room for buffered input events.
|
out: make(chan Event),
|
||||||
out: make(chan Event, 100),
|
|
||||||
ack: make(chan struct{}),
|
ack: make(chan struct{}),
|
||||||
invalidates: make(chan struct{}, 1),
|
invalidates: make(chan struct{}, 1),
|
||||||
frames: make(chan *ui.Ops),
|
frames: make(chan *ui.Ops),
|
||||||
|
|||||||
Reference in New Issue
Block a user