nexgb: regenerate from xcb-proto 1.12

To refresh documentation.
This commit is contained in:
2018-09-30 16:32:47 +02:00
parent 7051829581
commit e6e4e94436
26 changed files with 2479 additions and 2300 deletions

View File

@@ -71,7 +71,7 @@ type EnableCookie struct {
}
// Enable sends a checked request.
// If an error occurs, it will be returned with the reply by calling EnableCookie.Reply()
// If an error occurs, it will be returned with the reply by calling EnableCookie.Reply.
func Enable(c *xgb.Conn) EnableCookie {
c.ExtLock.RLock()
defer c.ExtLock.RUnlock()
@@ -135,8 +135,7 @@ func enableReply(buf []byte) *EnableReply {
return v
}
// Write request to wire for Enable
// enableRequest writes a Enable request to a byte slice.
// enableRequest writes a Enable request to a byte slice for transfer.
func enableRequest(c *xgb.Conn) []byte {
size := 4
b := 0