nexgb: regenerate from xcb-proto 1.12
To refresh documentation.
This commit is contained in:
		@@ -76,7 +76,7 @@ type CompareCursorCookie struct {
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
// CompareCursor sends a checked request.
 | 
			
		||||
// If an error occurs, it will be returned with the reply by calling CompareCursorCookie.Reply()
 | 
			
		||||
// If an error occurs, it will be returned with the reply by calling CompareCursorCookie.Reply.
 | 
			
		||||
func CompareCursor(c *xgb.Conn, Window xproto.Window, Cursor xproto.Cursor) CompareCursorCookie {
 | 
			
		||||
	c.ExtLock.RLock()
 | 
			
		||||
	defer c.ExtLock.RUnlock()
 | 
			
		||||
@@ -141,8 +141,7 @@ func compareCursorReply(buf []byte) *CompareCursorReply {
 | 
			
		||||
	return v
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
// Write request to wire for CompareCursor
 | 
			
		||||
// compareCursorRequest writes a CompareCursor request to a byte slice.
 | 
			
		||||
// compareCursorRequest writes a CompareCursor request to a byte slice for transfer.
 | 
			
		||||
func compareCursorRequest(c *xgb.Conn, Window xproto.Window, Cursor xproto.Cursor) []byte {
 | 
			
		||||
	size := 12
 | 
			
		||||
	b := 0
 | 
			
		||||
@@ -175,7 +174,7 @@ type FakeInputCookie struct {
 | 
			
		||||
 | 
			
		||||
// FakeInput sends an unchecked request.
 | 
			
		||||
// If an error occurs, it can only be retrieved using xgb.WaitForEvent or xgb.PollForEvent.
 | 
			
		||||
func FakeInput(c *xgb.Conn, Type byte, Detail byte, Time uint32, Root xproto.Window, RootX int16, RootY int16, Deviceid byte) FakeInputCookie {
 | 
			
		||||
func FakeInput(c *xgb.Conn, Type, Detail byte, Time uint32, Root xproto.Window, RootX, RootY int16, Deviceid byte) FakeInputCookie {
 | 
			
		||||
	c.ExtLock.RLock()
 | 
			
		||||
	defer c.ExtLock.RUnlock()
 | 
			
		||||
	if _, ok := c.Extensions["XTEST"]; !ok {
 | 
			
		||||
@@ -187,8 +186,8 @@ func FakeInput(c *xgb.Conn, Type byte, Detail byte, Time uint32, Root xproto.Win
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
// FakeInputChecked sends a checked request.
 | 
			
		||||
// If an error occurs, it can be retrieved using FakeInputCookie.Check()
 | 
			
		||||
func FakeInputChecked(c *xgb.Conn, Type byte, Detail byte, Time uint32, Root xproto.Window, RootX int16, RootY int16, Deviceid byte) FakeInputCookie {
 | 
			
		||||
// If an error occurs, it can be retrieved using FakeInputCookie.Check.
 | 
			
		||||
func FakeInputChecked(c *xgb.Conn, Type, Detail byte, Time uint32, Root xproto.Window, RootX, RootY int16, Deviceid byte) FakeInputCookie {
 | 
			
		||||
	c.ExtLock.RLock()
 | 
			
		||||
	defer c.ExtLock.RUnlock()
 | 
			
		||||
	if _, ok := c.Extensions["XTEST"]; !ok {
 | 
			
		||||
@@ -205,9 +204,8 @@ func (cook FakeInputCookie) Check() error {
 | 
			
		||||
	return cook.Cookie.Check()
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
// Write request to wire for FakeInput
 | 
			
		||||
// fakeInputRequest writes a FakeInput request to a byte slice.
 | 
			
		||||
func fakeInputRequest(c *xgb.Conn, Type byte, Detail byte, Time uint32, Root xproto.Window, RootX int16, RootY int16, Deviceid byte) []byte {
 | 
			
		||||
// fakeInputRequest writes a FakeInput request to a byte slice for transfer.
 | 
			
		||||
func fakeInputRequest(c *xgb.Conn, Type, Detail byte, Time uint32, Root xproto.Window, RootX, RootY int16, Deviceid byte) []byte {
 | 
			
		||||
	size := 36
 | 
			
		||||
	b := 0
 | 
			
		||||
	buf := make([]byte, size)
 | 
			
		||||
@@ -259,7 +257,7 @@ type GetVersionCookie struct {
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
// GetVersion sends a checked request.
 | 
			
		||||
// If an error occurs, it will be returned with the reply by calling GetVersionCookie.Reply()
 | 
			
		||||
// If an error occurs, it will be returned with the reply by calling GetVersionCookie.Reply.
 | 
			
		||||
func GetVersion(c *xgb.Conn, MajorVersion byte, MinorVersion uint16) GetVersionCookie {
 | 
			
		||||
	c.ExtLock.RLock()
 | 
			
		||||
	defer c.ExtLock.RUnlock()
 | 
			
		||||
@@ -324,8 +322,7 @@ func getVersionReply(buf []byte) *GetVersionReply {
 | 
			
		||||
	return v
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
// Write request to wire for GetVersion
 | 
			
		||||
// getVersionRequest writes a GetVersion request to a byte slice.
 | 
			
		||||
// getVersionRequest writes a GetVersion request to a byte slice for transfer.
 | 
			
		||||
func getVersionRequest(c *xgb.Conn, MajorVersion byte, MinorVersion uint16) []byte {
 | 
			
		||||
	size := 8
 | 
			
		||||
	b := 0
 | 
			
		||||
@@ -372,7 +369,7 @@ func GrabControl(c *xgb.Conn, Impervious bool) GrabControlCookie {
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
// GrabControlChecked sends a checked request.
 | 
			
		||||
// If an error occurs, it can be retrieved using GrabControlCookie.Check()
 | 
			
		||||
// If an error occurs, it can be retrieved using GrabControlCookie.Check.
 | 
			
		||||
func GrabControlChecked(c *xgb.Conn, Impervious bool) GrabControlCookie {
 | 
			
		||||
	c.ExtLock.RLock()
 | 
			
		||||
	defer c.ExtLock.RUnlock()
 | 
			
		||||
@@ -390,8 +387,7 @@ func (cook GrabControlCookie) Check() error {
 | 
			
		||||
	return cook.Cookie.Check()
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
// Write request to wire for GrabControl
 | 
			
		||||
// grabControlRequest writes a GrabControl request to a byte slice.
 | 
			
		||||
// grabControlRequest writes a GrabControl request to a byte slice for transfer.
 | 
			
		||||
func grabControlRequest(c *xgb.Conn, Impervious bool) []byte {
 | 
			
		||||
	size := 8
 | 
			
		||||
	b := 0
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user