mirror of
https://git.sr.ht/~eliasnaur/gio
synced 2026-07-02 16:06:19 +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:
+2
-3
@@ -86,9 +86,8 @@ func NewWindow(opts *WindowOptions) *Window {
|
||||
}
|
||||
|
||||
w := &Window{
|
||||
in: make(chan Event),
|
||||
// Make room for buffered input events.
|
||||
out: make(chan Event, 100),
|
||||
in: make(chan Event),
|
||||
out: make(chan Event),
|
||||
ack: make(chan struct{}),
|
||||
invalidates: make(chan struct{}, 1),
|
||||
frames: make(chan *ui.Ops),
|
||||
|
||||
Reference in New Issue
Block a user