aboutsummaryrefslogtreecommitdiff
path: root/nexgb/auto_xinerama.go
diff options
context:
space:
mode:
Diffstat (limited to 'nexgb/auto_xinerama.go')
-rw-r--r--nexgb/auto_xinerama.go46
1 files changed, 23 insertions, 23 deletions
diff --git a/nexgb/auto_xinerama.go b/nexgb/auto_xinerama.go
index c2e031c..6c08447 100644
--- a/nexgb/auto_xinerama.go
+++ b/nexgb/auto_xinerama.go
@@ -1,7 +1,7 @@
package xgb
/*
- This file was generated by xinerama.xml on May 5 2012 5:56:52pm EDT.
+ This file was generated by xinerama.xml on May 6 2012 3:00:45am EDT.
This file is automatically generated. Edit at your peril!
*/
@@ -9,6 +9,16 @@ package xgb
// in one package. They are still listed here for reference.
// import "xproto"
+// Skipping definition for base type 'Float'
+
+// Skipping definition for base type 'Id'
+
+// Skipping definition for base type 'Card8'
+
+// Skipping definition for base type 'Int16'
+
+// Skipping definition for base type 'Int32'
+
// Skipping definition for base type 'Void'
// Skipping definition for base type 'Byte'
@@ -25,16 +35,6 @@ package xgb
// Skipping definition for base type 'Bool'
-// Skipping definition for base type 'Float'
-
-// Skipping definition for base type 'Id'
-
-// Skipping definition for base type 'Card8'
-
-// Skipping definition for base type 'Int16'
-
-// Skipping definition for base type 'Int32'
-
// 'XineramaScreenInfo' struct definition
// Size: 8
type XineramaScreenInfo struct {
@@ -183,12 +183,12 @@ func (c *Conn) xineramaQueryVersionRequest(Major byte, Minor byte) []byte {
buf[b] = 0 // request opcode
b += 1
- buf[b] = Major
- b += 1
-
Put16(buf[b:], uint16(size/4)) // write request size in 4-byte units
b += 2
+ buf[b] = Major
+ b += 1
+
buf[b] = Minor
b += 1
@@ -270,12 +270,12 @@ func (c *Conn) xineramaGetStateRequest(Window Id) []byte {
buf[b] = 1 // request opcode
b += 1
- Put32(buf[b:], uint32(Window))
- b += 4
-
Put16(buf[b:], uint16(size/4)) // write request size in 4-byte units
b += 2
+ Put32(buf[b:], uint32(Window))
+ b += 4
+
return buf
}
@@ -354,12 +354,12 @@ func (c *Conn) xineramaGetScreenCountRequest(Window Id) []byte {
buf[b] = 2 // request opcode
b += 1
- Put32(buf[b:], uint32(Window))
- b += 4
-
Put16(buf[b:], uint16(size/4)) // write request size in 4-byte units
b += 2
+ Put32(buf[b:], uint32(Window))
+ b += 4
+
return buf
}
@@ -449,12 +449,12 @@ func (c *Conn) xineramaGetScreenSizeRequest(Window Id, Screen uint32) []byte {
buf[b] = 3 // request opcode
b += 1
- Put32(buf[b:], uint32(Window))
- b += 4
-
Put16(buf[b:], uint16(size/4)) // write request size in 4-byte units
b += 2
+ Put32(buf[b:], uint32(Window))
+ b += 4
+
Put32(buf[b:], Screen)
b += 4