diff options
Diffstat (limited to 'nexgb/auto_xinerama.go')
-rw-r--r-- | nexgb/auto_xinerama.go | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/nexgb/auto_xinerama.go b/nexgb/auto_xinerama.go index d751710..ff7453c 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 6 2012 5:48:48pm EDT. + This file was generated by xinerama.xml on May 7 2012 9:17:57pm EDT. This file is automatically generated. Edit at your peril! */ @@ -16,7 +16,7 @@ func (c *Conn) XineramaInit() error { case err != nil: return err case !reply.Present: - return newError("No extension named XINERAMA could be found on on the server.") + return errorf("No extension named XINERAMA could be found on on the server.") } c.extLock.Lock() @@ -24,6 +24,9 @@ func (c *Conn) XineramaInit() error { for evNum, fun := range newExtEventFuncs["XINERAMA"] { newEventFuncs[int(reply.FirstEvent)+evNum] = fun } + for errNum, fun := range newExtErrorFuncs["XINERAMA"] { + newErrorFuncs[int(reply.FirstError)+errNum] = fun + } c.extLock.Unlock() return nil @@ -31,8 +34,11 @@ func (c *Conn) XineramaInit() error { func init() { newExtEventFuncs["XINERAMA"] = make(map[int]newEventFun) + newExtErrorFuncs["XINERAMA"] = make(map[int]newErrorFun) } +// Skipping definition for base type 'Byte' + // Skipping definition for base type 'Int8' // Skipping definition for base type 'Card16' @@ -57,8 +63,6 @@ func init() { // Skipping definition for base type 'Void' -// Skipping definition for base type 'Byte' - // 'XineramaScreenInfo' struct definition // Size: 8 type XineramaScreenInfo struct { |