BurntSushi / xgb

The X Go Binding is a low-level API to communicate with the X server. It is modeled on XCB and supports many X extensions.
Other
489 stars 75 forks source link

Composite Extension broken #6

Closed AmandaCameron closed 10 years ago

AmandaCameron commented 11 years ago

I was experimenting with the Composite extension, and much to my surprise it's always panicing claiming to be uninitalized -- It seems that in Init() it's setting

c.Extensions["Composite"] = reply.MajorOpcode

in the functions ( EG. QueryVersion ) it's looking for...

if _, ok := c.Extensions["COMPOSITE"]; !ok {