aboutsummaryrefslogtreecommitdiff
path: root/nexgb/xgb.go
diff options
context:
space:
mode:
Diffstat (limited to 'nexgb/xgb.go')
-rw-r--r--nexgb/xgb.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/nexgb/xgb.go b/nexgb/xgb.go
index c62cc85..1c6ef93 100644
--- a/nexgb/xgb.go
+++ b/nexgb/xgb.go
@@ -41,7 +41,7 @@ const (
// that can be loaded off the wire and not grabbed with WaitForEvent
// until reading an event blocks. This value should be big enough to handle
// bursts of events.
- eventBuffer = 500
+ eventBuffer = 5000
)
// A Conn represents a connection to an X server.
@@ -409,6 +409,7 @@ func (c *Conn) readResponses() {
case c.eventChan <- event:
default:
go func() {
+ println("overflowing...")
c.eventChan <- event
}()
}