panic when an extension request is issued before an extension has been initialized. but give a nice error message for the happy people.

This commit is contained in:
Andrew Gallant (Ocelot)
2012-05-11 23:58:52 -04:00
parent fb3128ed2a
commit 29942bf078
29 changed files with 2876 additions and 202 deletions

View File

@@ -2,7 +2,7 @@
package xproto
/*
This file was generated by xproto.xml on May 11 2012 1:58:37am EDT.
This file was generated by xproto.xml on May 11 2012 11:57:20pm EDT.
This file is automatically generated. Edit at your peril!
*/
@@ -23,14 +23,6 @@ func (s *SetupInfo) DefaultScreen(c *xgb.Conn) *ScreenInfo {
return &s.Roots[c.DefaultScreen]
}
// Skipping definition for base type 'Int16'
// Skipping definition for base type 'Int32'
// Skipping definition for base type 'Void'
// Skipping definition for base type 'Byte'
// Skipping definition for base type 'Int8'
// Skipping definition for base type 'Card16'
@@ -47,6 +39,14 @@ func (s *SetupInfo) DefaultScreen(c *xgb.Conn) *ScreenInfo {
// 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'
const (
VisualClassStaticGray = 0
VisualClassGrayScale = 1