diff options
| author | hhvn <dev@hhvn.uk> | 2023-11-18 15:50:54 +0000 |
|---|---|---|
| committer | hhvn <dev@hhvn.uk> | 2023-11-18 19:55:41 +0000 |
| commit | 505685c6d546cab46f919f6b5296ca73b80d09b2 (patch) | |
| tree | 0d935e86a404f9d99d9da74c60d0ef74a70d5121 /drw | |
| parent | 6a1ca4bae672d7b6edc50c9a31b0404467714edb (diff) | |
Eliminate pointless select
Diffstat (limited to 'drw')
| -rw-r--r-- | drw/x.go | 6 |
1 files changed, 1 insertions, 5 deletions
@@ -72,11 +72,7 @@ func init() { go func() { for { ev, err := xc.WaitForEvent() w := eventwrap{ev, err} - - select { - default: - Events <- &w - } + Events <- &w }}() } |