diff options
Diffstat (limited to 'nexgb/xevie')
-rw-r--r-- | nexgb/xevie/xevie.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nexgb/xevie/xevie.go b/nexgb/xevie/xevie.go index 6da9158..f77d405 100644 --- a/nexgb/xevie/xevie.go +++ b/nexgb/xevie/xevie.go @@ -467,7 +467,7 @@ func sendRequest(c *xgb.Conn, Event Event, DataType uint32) []byte { { structBytes := Event.Bytes() copy(buf[b:], structBytes) - b += xgb.Pad(len(structBytes)) + b += len(structBytes) } xgb.Put32(buf[b:], DataType) |