diff options
Diffstat (limited to 'nexgb/xproto/xproto.go')
-rw-r--r-- | nexgb/xproto/xproto.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nexgb/xproto/xproto.go b/nexgb/xproto/xproto.go index 9b33030..5579ba9 100644 --- a/nexgb/xproto/xproto.go +++ b/nexgb/xproto/xproto.go @@ -886,7 +886,7 @@ func (v ClientMessageEvent) Bytes() []byte { { unionBytes := v.Data.Bytes() copy(buf[b:], unionBytes) - b += xgb.Pad(len(unionBytes)) + b += len(unionBytes) } return buf |